mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-11 17:30:00 +01:00
lavfi/subtitles: fix memleak after 6bcb1e1a
Spotted-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -478,6 +478,7 @@ end:
|
||||
av_dict_free(&codec_opts);
|
||||
if (dec_ctx)
|
||||
avcodec_close(dec_ctx);
|
||||
avcodec_free_context(&dec_ctx);
|
||||
if (fmt)
|
||||
avformat_close_input(&fmt);
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user