From 8f025f2f6055cf534d3276b4aef491a912336cd2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 30 Nov 2011 18:46:26 +0100 Subject: [PATCH] avfilter: align allocated images to 32 for AVX and IFF Signed-off-by: Michael Niedermayer --- libavfilter/defaults.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index c962764db0..1b756a4000 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -63,7 +63,7 @@ AVFilterBufferRef *avfilter_default_get_video_buffer(AVFilterLink *link, int per pool = link->pool = av_mallocz(sizeof(AVFilterPool)); // align: +2 is needed for swscaler, +16 to be SIMD-friendly - if ((i = av_image_alloc(data, linesize, w, h, link->format, 16)) < 0) + if ((i = av_image_alloc(data, linesize, w, h, link->format, 32)) < 0) return NULL; picref = avfilter_get_video_buffer_ref_from_arrays(data, linesize,