summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2007-03-12 03:39:03 +0000
committerRyan Hill <rhill@gentoo.org>2007-03-12 03:39:03 +0000
commit2d01444334f011c7e483c064aa87e97520df7f2a (patch)
treebb128db79bf39372e09e869015ccddacf9114bb0 /media-libs/faac/files
parentAdd ~alpha + ~ia64 keywords. (diff)
downloadhistorical-2d01444334f011c7e483c064aa87e97520df7f2a.tar.gz
historical-2d01444334f011c7e483c064aa87e97520df7f2a.tar.bz2
historical-2d01444334f011c7e483c064aa87e97520df7f2a.zip
Added patch to fix infinite loop when converting MS encoded WAV files.
Thanks to Heitzso for bug #103444. Package-Manager: portage-2.1.2.2
Diffstat (limited to 'media-libs/faac/files')
-rw-r--r--media-libs/faac/files/digest-faac-1.24-r43
-rw-r--r--media-libs/faac/files/faac-1.24-fixnoise-hang.patch18
2 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/faac/files/digest-faac-1.24-r4 b/media-libs/faac/files/digest-faac-1.24-r4
new file mode 100644
index 000000000000..9441922a2cd6
--- /dev/null
+++ b/media-libs/faac/files/digest-faac-1.24-r4
@@ -0,0 +1,3 @@
+MD5 e72dc74db17b42b06155613489077ad7 faac-1.24.tar.gz 282585
+RMD160 7dbd8eec4f26875ea641b3319d8b970e68d88a60 faac-1.24.tar.gz 282585
+SHA256 a5844ff3bce0d7c885af71f41da01395d3253dcfc33863306a027a78a7cfad9e faac-1.24.tar.gz 282585
diff --git a/media-libs/faac/files/faac-1.24-fixnoise-hang.patch b/media-libs/faac/files/faac-1.24-fixnoise-hang.patch
new file mode 100644
index 000000000000..d4e3c39526f0
--- /dev/null
+++ b/media-libs/faac/files/faac-1.24-fixnoise-hang.patch
@@ -0,0 +1,18 @@
+https://bugs.gentoo.org/show_bug.cgi?id=103444
+http://sourceforge.net/tracker/index.php?func=detail&aid=975905&group_id=704&atid=100704
+
+diff -Naur faac-orig/libfaac/frame.c faac/libfaac/frame.c
+--- faac-orig/libfaac/frame.c 2004-04-13 07:47:33.000000000 -0600
++++ faac/libfaac/frame.c 2007-03-11 21:24:23.000000000 -0600
+@@ -731,6 +731,11 @@
+
+ MSEncode(coderInfo, channelInfo, hEncoder->freqBuff, numChannels, allowMidside);
+
++ for (channel = 0; channel < numChannels; channel++)
++ {
++ CalcAvgEnrg(&coderInfo[channel], hEncoder->freqBuff[channel]);
++ }
++
+ /* Quantize and code the signal */
+ for (channel = 0; channel < numChannels; channel++) {
+ if (coderInfo[channel].block_type == ONLY_SHORT_WINDOW) {