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

Showing the changes to fftools (1 of 1 file). Show all

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
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
1138fail:1137fail:
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

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