Browse Source

lavfi/subtitles: fix memleak after 6bcb1e1a

Spotted-by: James Almer <jamrial@gmail.com>
tags/n3.1
Clément Bœsch 9 years ago
parent
commit
e73ccfd6ad
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_subtitles.c

+ 1
- 0
libavfilter/vf_subtitles.c View File

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