[SCM] libav/wheezy-security: avfilter: Add missing emms_c when needed

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 1 21:36:13 UTC 2014


The following commit has been merged in the wheezy-security branch:
commit 1dce4a031f8dca167ce5f58da066e296d0231a4a
Author: Luca Barbato <lu_zero at gentoo.org>
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: libav-stable at libav.org

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/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list