mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi: clarify the context of a comment in avfilter_default_get_video_buffer()
The comment is meant to be about the align parameter.
This commit is contained in:
parent
77b32b73ed
commit
0ff5cbedd2
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue