aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-30 18:46:26 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-30 18:53:47 +0100
commit8f025f2f6055cf534d3276b4aef491a912336cd2 (patch)
tree0b8581e6c840740732a4eb7c07aaea998d366a88
parentfd3e75d2d461725ffd0f5f86a7710062d6c7956c (diff)
downloadffmpeg-8f025f2f6055cf534d3276b4aef491a912336cd2.tar.gz
avfilter: align allocated images to 32 for AVX and IFF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/defaults.c2
1 files changed, 1 insertions, 1 deletions
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,