[FFmpeg-cvslog] fftools/ffmpeg_opt: Don't set source_index redundantly

Andreas Rheinhardt git at videolan.org
Tue Nov 30 13:10:47 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Nov 27 12:15:18 2021 +0100| [e22dff43e72a79bbf559fcc72f5a0f70b77eaff4] | committer: Andreas Rheinhardt

fftools/ffmpeg_opt: Don't set source_index redundantly

It is already set in new_output_stream().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

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

diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 4845dd18a3..a27263b879 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -2197,7 +2197,6 @@ static void init_output_filter(OutputFilter *ofilter, OptionsContext *o,
         exit_program(1);
     }
 
-    ost->source_index = -1;
     ost->filter       = ofilter;
 
     ofilter->ost      = ost;



More information about the ffmpeg-cvslog mailing list