[FFmpeg-cvslog] fftools/ffmpeg_mux_init: drop a redundant assignment

Anton Khirnov git at videolan.org
Mon Apr 24 18:03:18 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Apr 18 14:45:42 2023 +0200| [ea4c42779b42a27e088f060db1fd7d768f3ce598] | committer: Anton Khirnov

fftools/ffmpeg_mux_init: drop a redundant assignment

OutputFilter.format is initialized in ofilter_alloc().

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

 fftools/ffmpeg_mux_init.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index ad5a451581..1a63908074 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -1259,7 +1259,6 @@ static void init_output_filter(OutputFilter *ofilter, const OptionsContext *o,
     ost->filter       = ofilter;
 
     ofilter->ost      = ost;
-    ofilter->format   = -1;
 
     if (!ost->enc_ctx) {
         av_log(ost, AV_LOG_ERROR, "Streamcopy requested for output stream fed "



More information about the ffmpeg-cvslog mailing list