summaryrefslogtreecommitdiff
path: root/libavfilter/af_volume.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-03-05 10:41:33 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-03-05 11:00:05 +0100
commite995cf1bccc6e91bbaa6a8771e23fb3ab259c110 (patch)
treebbd192e2b2ae8f2f3da94970f08d97252935440b /libavfilter/af_volume.c
parent5ddc9f5052316608799b932c604f9e7561f8ce24 (diff)
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
Diffstat (limited to 'libavfilter/af_volume.c')
-rw-r--r--libavfilter/af_volume.c2
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);