summaryrefslogtreecommitdiff
path: root/libavfilter/vf_gradfun.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/vf_gradfun.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/vf_gradfun.c')
-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 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)