diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-07 11:25:20 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-07 11:25:20 -0300 |
commit | ea72eac0bc0d1abf4f6008383a8cf96bff0476da (patch) | |
tree | c6d9bfd076e21295939291fbf187f33d49de5538 /extra/swh-plugins/mbeq_crash_fix.patch | |
parent | 6ba17fd7084afd34f49d65a2d214a0c9617b4cd4 (diff) | |
parent | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/avidemux/PKGBUILD
extra/kdesdk/PKGBUILD
extra/swh-plugins/PKGBUILD
kde-unstable/kdesdk/PKGBUILD
multilib/nspluginwrapper/PKGBUILD
Diffstat (limited to 'extra/swh-plugins/mbeq_crash_fix.patch')
-rw-r--r-- | extra/swh-plugins/mbeq_crash_fix.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/extra/swh-plugins/mbeq_crash_fix.patch b/extra/swh-plugins/mbeq_crash_fix.patch new file mode 100644 index 000000000..37ddd33a9 --- /dev/null +++ b/extra/swh-plugins/mbeq_crash_fix.patch @@ -0,0 +1,39 @@ +diff -Nru swh-plugins-0.4.15.orig/mbeq_1197.c swh-plugins-0.4.15/mbeq_1197.c +--- swh-plugins-0.4.15.orig/mbeq_1197.c 2006-08-09 01:49:15.000000000 +1000 ++++ swh-plugins-0.4.15/mbeq_1197.c 2011-06-05 10:57:17.929107102 +1000 +@@ -457,7 +457,8 @@ + #endif + + // Multiply the bins magnitudes by the coeficients +- for (i = 0; i < FFT_LENGTH/2; i++) { ++ comp[0] *= coefs[0]; ++ for (i = 1; i < FFT_LENGTH/2; i++) { + comp[i] *= coefs[i]; + comp[FFT_LENGTH-i] *= coefs[i]; + } +diff -Nru swh-plugins-0.4.15.orig/mbeq_1197.so.c swh-plugins-0.4.15/mbeq_1197.so.c +--- swh-plugins-0.4.15.orig/mbeq_1197.so.c 2003-10-22 02:13:40.000000000 +1000 ++++ swh-plugins-0.4.15/mbeq_1197.so.c 2011-06-05 10:57:52.265774336 +1000 +@@ -446,7 +446,8 @@ + #endif + + // Multiply the bins magnitudes by the coeficients +- for (i = 0; i < FFT_LENGTH/2; i++) { ++ comp[0] *= coefs[0]; ++ for (i = 1; i < FFT_LENGTH/2; i++) { + comp[i] *= coefs[i]; + comp[FFT_LENGTH-i] *= coefs[i]; + } +diff -Nru swh-plugins-0.4.15.orig/mbeq_1197.xml swh-plugins-0.4.15/mbeq_1197.xml +--- swh-plugins-0.4.15.orig/mbeq_1197.xml 2005-06-01 19:51:58.000000000 +1000 ++++ swh-plugins-0.4.15/mbeq_1197.xml 2011-06-05 10:57:39.335774121 +1000 +@@ -171,7 +171,8 @@ + #endif + + // Multiply the bins magnitudes by the coeficients +- for (i = 0; i < FFT_LENGTH/2; i++) { ++ comp[0] *= coefs[0]; ++ for (i = 1; i < FFT_LENGTH/2; i++) { + comp[i] *= coefs[i]; + comp[FFT_LENGTH-i] *= coefs[i]; + } |