mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 20:10:09 +01:00
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:
@@ -60,7 +60,7 @@ AVFilterBufferRef *avfilter_default_get_video_buffer(AVFilterLink *link, int per
|
|||||||
} else
|
} else
|
||||||
pool = link->pool = av_mallocz(sizeof(AVFilterPool));
|
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)
|
if ((i = av_image_alloc(data, linesize, w, h, link->format, 16)) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user