mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
lavfi/subtitles: remove unecessary checks
This commit is contained in:
parent
e73ccfd6ad
commit
a887fbb582
1 changed files with 2 additions and 4 deletions
|
|
@ -476,11 +476,9 @@ static av_cold int init_subtitles(AVFilterContext *ctx)
|
|||
|
||||
end:
|
||||
av_dict_free(&codec_opts);
|
||||
if (dec_ctx)
|
||||
avcodec_close(dec_ctx);
|
||||
avcodec_close(dec_ctx);
|
||||
avcodec_free_context(&dec_ctx);
|
||||
if (fmt)
|
||||
avformat_close_input(&fmt);
|
||||
avformat_close_input(&fmt);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue