You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavfi/subtitles: remove unecessary checks
This commit is contained in:
@@ -476,10 +476,8 @@ static av_cold int init_subtitles(AVFilterContext *ctx)
|
||||
|
||||
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