From e995cf1bccc6e91bbaa6a8771e23fb3ab259c110 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 5 Mar 2014 10:41:33 +0100 Subject: 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 --- libavfilter/vf_gradfun.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavfilter/vf_gradfun.c') diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 79f6790f30..f7c4372dd3 100644 --- a/libavfilter/vf_gradfun.c +++ b/libavfilter/vf_gradfun.c @@ -118,6 +118,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) -- cgit v1.2.3