aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-27 12:15:18 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-30 12:06:02 +0100
commite22dff43e72a79bbf559fcc72f5a0f70b77eaff4 (patch)
tree6676631e6e7269b573d11c9391dc494dd6224b11
parent4913f05ccf70dc1470f284b9a32c0e66991f6029 (diff)
downloadffmpeg-e22dff43e72a79bbf559fcc72f5a0f70b77eaff4.tar.gz
fftools/ffmpeg_opt: Don't set source_index redundantly
It is already set in new_output_stream(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--fftools/ffmpeg_opt.c1
1 files changed, 0 insertions, 1 deletions
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;