Module: libav
Branch: release/0.8
Commit: 1dce4a031f8dca167ce5f58da066e296d0231a4a

Author:    Luca Barbato <[email protected]>
Committer: Reinhard Tartler <[email protected]>
Date:      Wed Mar  5 10:41:33 2014 +0100

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: [email protected]

---

 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)

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to