aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-03-05 10:41:33 +0100
committerReinhard Tartler <siretart@tauware.de>2014-05-31 20:05:19 -0400
commit1dce4a031f8dca167ce5f58da066e296d0231a4a (patch)
tree66c1888550bc5774e109ea7ca6efd7e382730269
parent9938e450c8575e0a4640dcbefb87d26d6bab9e4d (diff)
downloadffmpeg-1dce4a031f8dca167ce5f58da066e296d0231a4a.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
-rw-r--r--libavfilter/vf_gradfun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
index c6663c4102..525aec91a8 100644
--- a/libavfilter/vf_gradfun.c
+++ b/libavfilter/vf_gradfun.c
@@ -113,6 +113,7 @@ static void filter(GradFunContext *ctx, uint8_t *dst, uint8_t *src, int width, i
ctx->filter_line(dst + y * dst_linesize, src + y * src_linesize, dc - r / 2, width, thresh, dither[y & 7]);
if (++y >= height) break;
}
+ emms_c();
}
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)