Commit 8f025f2f authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter: align allocated images to 32 for AVX and IFF

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fd3e75d2
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment