Browse Source

avfilter: align allocated images to 32 for AVX and IFF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
8f025f2f60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/defaults.c

+ 1
- 1
libavfilter/defaults.c View File

@@ -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,


Loading…
Cancel
Save