diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-03-05 10:41:33 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-03-05 11:00:05 +0100 |
commit | e995cf1bccc6e91bbaa6a8771e23fb3ab259c110 (patch) | |
tree | bbd192e2b2ae8f2f3da94970f08d97252935440b /libavfilter/vf_gradfun.c | |
parent | 5ddc9f5052316608799b932c604f9e7561f8ce24 (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.c | 1 |
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) |