[FFmpeg-cvslog] fftools/ffmpeg_mux_init: remove unused variable

Marvin Scholz git at videolan.org
Fri Sep 13 01:36:39 EEST 2024


ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sun Sep  8 22:20:42 2024 +0200| [bb91425eb89affd45dfcdb004bd361e0630a7ece] | committer: Marvin Scholz

fftools/ffmpeg_mux_init: remove unused variable

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb91425eb89affd45dfcdb004bd361e0630a7ece
---

 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;
 }
 



More information about the ffmpeg-cvslog mailing list