From 599c285162197dae164704131b8f3ff6276c8496 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 1 Nov 2013 14:41:07 +0100 Subject: [PATCH] avfilter/vf_gradfun: add emms_c() for mmxext Signed-off-by: Michael Niedermayer --- libavfilter/vf_gradfun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 6ae7c60d55..0da9e0b7bb 100644 --- a/libavfilter/vf_gradfun.c +++ b/libavfilter/vf_gradfun.c @@ -118,6 +118,7 @@ static void filter(GradFunContext *ctx, uint8_t *dst, const uint8_t *src, int wi 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)