Browse Source

lavfi/subtitles: remove unecessary checks

tags/n3.1
Clément Bœsch 9 years ago
parent
commit
a887fbb582
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      libavfilter/vf_subtitles.c

+ 2
- 4
libavfilter/vf_subtitles.c View File

@@ -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…
Cancel
Save