diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-03-05 10:41:33 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2014-05-10 11:11:21 -0400 |
commit | ff79f6b35a94dde69b3d52bd2abdfdb793f525c3 (patch) | |
tree | ab2583dddb25ce5e543f502aaa065682f017d008 /libavfilter/af_volume.c | |
parent | e2a83d72da866a29f5307a56f66c469966f02473 (diff) | |
download | ffmpeg-ff79f6b35a94dde69b3d52bd2abdfdb793f525c3.tar.gz |
avfilter: Add missing emms_c when needed
Arch specific calls should have an emms_c following to keep the cpu
state consistent.
Reported-By: wm4
CC: libav-stable@libav.org
(cherry picked from commit e995cf1bccc6e91bbaa6a8771e23fb3ab259c110)
Diffstat (limited to 'libavfilter/af_volume.c')
-rw-r--r-- | libavfilter/af_volume.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c index 12d496ed4d..59223e548b 100644 --- a/libavfilter/af_volume.c +++ b/libavfilter/af_volume.c @@ -278,6 +278,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf) } } + emms_c(); + if (buf != out_buf) av_frame_free(&buf); |