mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavfi/subtitles: fix memleak after 6bcb1e1a
Spotted-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
ee2a8f142b
commit
e73ccfd6ad
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user