From f9f69028af9f09bd56a1c07f60a42643860e97c4 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Tue, 21 Dec 2010 20:56:25 +0000 Subject: [PATCH] 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 --- libavcodec/ac3enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index ccf3e45fe2..15a2c07438 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 */