[FFmpeg-devel] [PATCH] Don't reallocate a AVCodecContext when closing a non-open codec.
Dale Curtis
dalecurtis at chromium.org
Wed Aug 14 19:44:36 EEST 2024
Bump for this one. Thanks!
- dale
On Fri, Aug 2, 2024 at 9:54 AM Dale Curtis <dalecurtis at chromium.org> wrote:
> This results in an unnecessary ~800k allocation with H.264. A
> nearby callsite uses avcodec_is_open() to avoid this, so do the
> same when exiting avformat_find_stream_info().
>
> Signed-off-by: Dale Curtis <dalecurtis at chromium.org>
> ---
> libavformat/demux.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
>
More information about the ffmpeg-devel
mailing list