aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-21 20:56:25 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-21 20:56:25 +0000
commitf9f69028af9f09bd56a1c07f60a42643860e97c4 (patch)
tree1c0c4727012142badd52be315916961119b4e61d /libavcodec/ac3enc.c
parenta81d7c6aa343be8f94d9a77aa3cc091aa871833d (diff)
downloadffmpeg-f9f69028af9f09bd56a1c07f60a42643860e97c4.tar.gz
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
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r--libavcodec/ac3enc.c1
1 files changed, 1 insertions, 0 deletions
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 */