This dict is declared and freed but nothing is ever written to it.
Unified · Split
| @@ -1033,7 +1033,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e · 1032 unmodified lines | |||
| 1033 | uint32_t codec_tag = par->codec_tag; | 1033 | uint32_t codec_tag = par->codec_tag; |
| 1034 | 1034 | ||
| 1035 | AVCodecContext *codec_ctx = NULL; | 1035 | AVCodecContext *codec_ctx = NULL; |
| 1036 | AVDictionary *codec_opts = NULL; | ||
| 1037 | 1036 | ||
| 1038 | AVRational fr = ost->frame_rate; | 1037 | AVRational fr = ost->frame_rate; |
| 1039 | 1038 | ||
| @@ -1137,7 +1136,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e · 97 unmodified lines | |||
| 1137 | 1136 | ||
| 1138 | fail: | 1137 | fail: |
| 1139 | avcodec_free_context(&codec_ctx); | 1138 | avcodec_free_context(&codec_ctx); |
| 1140 | av_dict_free(&codec_opts); | ||
| 1141 | return ret; | 1139 | return ret; |
| 1142 | } | 1140 | } |
| 1143 | 1141 | ||