[SCM] libav/experimental: Add emms_c() after exp_diff calculations. Fixes AC-3 encoding on OpenBSD 4.8 x86_32 and hopefully other similar configurations.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:20:43 UTC 2013


The following commit has been merged in the experimental branch:
commit f9f69028af9f09bd56a1c07f60a42643860e97c4
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Tue Dec 21 20:56:25 2010 +0000

    Add emms_c() after exp_diff calculations.
    Fixes AC-3 encoding on OpenBSD 4.8 x86_32 and hopefully other similar
    configurations.
    
    Originally committed as revision 26070 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index ccf3e45..15a2c07 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -587,6 +587,7 @@ static void compute_exp_strategy_ch(AC3EncodeContext *s, uint8_t *exp_strategy,
         else
             exp_strategy[blk] = EXP_REUSE;
     }
+    emms_c();
 
     /* now select the encoding strategy type : if exponents are often
        recoded, we use a coarse encoding */

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list