[FFmpeg-devel] [PATCH v2] lavf/mpegenc: fix memory leak in the fifo since the new API
Anton Khirnov
anton at khirnov.net
Sat Mar 19 16:51:00 EET 2022
Quoting Nicolas Gaullier (2022-03-18 14:15:04)
> The older av_fifo_realloc2 implemented an auto grow that should be ported as such.
>
> This introduces a limitation in the buffer size.
> AUTO_GROW_DEFAULT_BYTES is currently 1MB which seems reasonable here.
Are you sure it's enough? 1MB packets are not unthinkable for
high-bitrate video.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list