fftools/ffmpeg_mux_init: remove unused variable
This dict is declared and freed but nothing is ever written to it.
This commit is contained in:
parent
0c84b977a9
commit
bb91425eb8
@ -1033,7 +1033,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e
|
|||||||
uint32_t codec_tag = par->codec_tag;
|
uint32_t codec_tag = par->codec_tag;
|
||||||
|
|
||||||
AVCodecContext *codec_ctx = NULL;
|
AVCodecContext *codec_ctx = NULL;
|
||||||
AVDictionary *codec_opts = NULL;
|
|
||||||
|
|
||||||
AVRational fr = ost->frame_rate;
|
AVRational fr = ost->frame_rate;
|
||||||
|
|
||||||
@ -1137,7 +1136,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e
|
|||||||
|
|
||||||
fail:
|
fail:
|
||||||
avcodec_free_context(&codec_ctx);
|
avcodec_free_context(&codec_ctx);
|
||||||
av_dict_free(&codec_opts);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user