[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Don't set source_index redundantly
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon Nov 29 16:41:28 EET 2021
Andreas Rheinhardt:
> 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;
>
Will apply tonight unless there are objections.
- Andreas
More information about the ffmpeg-devel
mailing list