From 0ff5cbedd2b6e813064fe4f8aab735162889037c Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 2 Jun 2011 16:27:56 +0200 Subject: [PATCH] lavfi: clarify the context of a comment in avfilter_default_get_video_buffer() The comment is meant to be about the align parameter. --- libavfilter/defaults.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index 74ba599f9c..4a01b10b9c 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -60,7 +60,7 @@ AVFilterBufferRef *avfilter_default_get_video_buffer(AVFilterLink *link, int per } else pool = link->pool = av_mallocz(sizeof(AVFilterPool)); - // +2 is needed for swscaler, +16 to be SIMD-friendly + // align: +2 is needed for swscaler, +16 to be SIMD-friendly if ((i = av_image_alloc(data, linesize, w, h, link->format, 16)) < 0) return NULL;