From bb91425eb89affd45dfcdb004bd361e0630a7ece Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Sun, 8 Sep 2024 22:20:42 +0200 Subject: [PATCH] fftools/ffmpeg_mux_init: remove unused variable This dict is declared and freed but nothing is ever written to it. --- fftools/ffmpeg_mux_init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index 6e6eda32e7..6d9029c9c3 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -1033,7 +1033,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e uint32_t codec_tag = par->codec_tag; AVCodecContext *codec_ctx = NULL; - AVDictionary *codec_opts = NULL; AVRational fr = ost->frame_rate; @@ -1137,7 +1136,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e fail: avcodec_free_context(&codec_ctx); - av_dict_free(&codec_opts); return ret; }