lavfi: clarify the context of a comment in avfilter_default_get_video_buffer()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 2 Jun 2011 14:27:56 +0000 (16:27 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 2 Jun 2011 16:24:50 +0000 (18:24 +0200)
The comment is meant to be about the align parameter.

libavfilter/defaults.c

index 74ba599..4a01b10 100644 (file)
@@ -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;