[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Don't set source_index redundantly
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Nov 27 13:40:06 EET 2021
It is already set in new_output_stream().
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
fftools/ffmpeg_opt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 8a0cad3f62..9fdb2d4967 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -2214,7 +2214,6 @@ static void init_output_filter(OutputFilter *ofilter, OptionsContext *o,
exit_program(1);
}
- ost->source_index = -1;
ost->filter = ofilter;
ofilter->ost = ost;
--
2.32.0
More information about the ffmpeg-devel
mailing list