[FFmpeg-cvslog] avfilter: align allocated images to 32 for AVX and IFF
Michael Niedermayer
git at videolan.org
Wed Nov 30 18:54:44 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 30 18:46:26 2011 +0100| [8f025f2f6055cf534d3276b4aef491a912336cd2] | committer: Michael Niedermayer
avfilter: align allocated images to 32 for AVX and IFF
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f025f2f6055cf534d3276b4aef491a912336cd2
---
libavfilter/defaults.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c
index c962764..1b756a4 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,
More information about the ffmpeg-cvslog
mailing list