diff mbox series

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

Message ID AM7PR03MB6660004236F0316EAF85433A8F649@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit e22dff43e72a79bbf559fcc72f5a0f70b77eaff4
Headers show
Series [FFmpeg-devel] fftools/ffmpeg_opt: Don't set source_index redundantly
Related show

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 27, 2021, 11:40 a.m. UTC
It is already set in new_output_stream().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 fftools/ffmpeg_opt.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andreas Rheinhardt Nov. 29, 2021, 2:41 p.m. UTC | #1
Andreas Rheinhardt:
> It is already set in new_output_stream().
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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
diff mbox series

Patch

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;