aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2024-09-08 22:20:42 +0200
committerMarvin Scholz <epirat07@gmail.com>2024-09-13 00:31:19 +0200
commitbb91425eb89affd45dfcdb004bd361e0630a7ece (patch)
treefe12f1b33be4056b9097a9bfbab4f9bb3b151511
parent0c84b977a9ecdec02424fd6766d05b83bfb00a31 (diff)
downloadffmpeg-bb91425eb89affd45dfcdb004bd361e0630a7ece.tar.gz
fftools/ffmpeg_mux_init: remove unused variable
This dict is declared and freed but nothing is ever written to it.
-rw-r--r--fftools/ffmpeg_mux_init.c2
1 files changed, 0 insertions, 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;
}