History

fftools/ffmpeg_mux_init: remove unused variable

This dict is declared and freed but nothing is ever written to it.

Marvin Scholz committed 2 years ago

Commit bb914251 parent 0c84b971 file · +0 −2Browse files

Unified · Split

fftools/ffmpeg_mux_init.c+0−2
@@ -1033,7 +1033,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e · 1032 unmodified lines
10331033 uint32_t codec_tag = par->codec_tag;
10341034
10351035 AVCodecContext *codec_ctx = NULL;
1036− AVDictionary *codec_opts = NULL;
10371036
10381037 AVRational fr = ost->frame_rate;
10391038
@@ -1137,7 +1136,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e · 97 unmodified lines
11371136
11381137 fail:
11391138 avcodec_free_context(&codec_ctx);
1140− av_dict_free(&codec_opts);
11411139 return ret;
11421140 }
11431141

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t