[FFmpeg-cvslog] lavfi: clarify the context of a comment in avfilter_default_get_video_buffer()

Stefano Sabatini git at videolan.org
Thu Jun 2 18:55:16 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Thu Jun  2 16:27:56 2011 +0200| [0ff5cbedd2b6e813064fe4f8aab735162889037c] | committer: Stefano Sabatini

lavfi: clarify the context of a comment in avfilter_default_get_video_buffer()

The comment is meant to be about the align parameter.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ff5cbedd2b6e813064fe4f8aab735162889037c
---

 libavfilter/defaults.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c
index 74ba599..4a01b10 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;
 



More information about the ffmpeg-cvslog mailing list