This dict is declared and freed but nothing is ever written to it.
Showing the changes to fftools (1 of 1 file). Show all
Unified · Split
| @@ -1033,7 +1033,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e · 1032 unmodified lines | ||
| 1033 | 1033 | uint32_t codec_tag = par->codec_tag; |
| 1034 | 1034 | |
| 1035 | 1035 | AVCodecContext *codec_ctx = NULL; |
| 1036 | − AVDictionary *codec_opts = NULL; | |
| 1037 | 1036 | |
| 1038 | 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 | 1137 | fail: |
| 1139 | 1138 | avcodec_free_context(&codec_ctx); |
| 1140 | − av_dict_free(&codec_opts); | |
| 1141 | 1139 | return ret; |
| 1142 | 1140 | } |
| 1143 | 1141 | |