[FFmpeg-cvslog] avfilter: Add missing emms_c when needed
Luca Barbato
git at videolan.org
Tue Jun 3 02:22:05 CEST 2014
ffmpeg | branch: release/0.10 | Luca Barbato <lu_zero at gentoo.org> | Wed Mar 5 10:41:33 2014 +0100| [1dce4a031f8dca167ce5f58da066e296d0231a4a] | committer: Reinhard Tartler
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 at libav.org
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1dce4a031f8dca167ce5f58da066e296d0231a4a
---
libavfilter/vf_gradfun.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
index c6663c4..525aec9 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)
More information about the ffmpeg-cvslog
mailing list