[FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check before ff_format_io_close

Fu, Linjie linjie.fu at intel.com
Fri Nov 8 03:32:15 EET 2019


> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Steven Liu
> Sent: Friday, November 8, 2019 06:50
> To: ffmpeg-devel at ffmpeg.org
> Cc: Steven Liu <lq at chinaffmpeg.org>
> Subject: [FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check
> before ff_format_io_close
> 
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
>  libavformat/mlvdec.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
> index 68ca2c5e1c..3b4cb6befd 100644
> --- a/libavformat/mlvdec.c
> +++ b/libavformat/mlvdec.c
> @@ -462,7 +462,6 @@ static int read_close(AVFormatContext *s)
>      MlvContext *mlv = s->priv_data;
>      int i;
>      for (i = 0; i < 100; i++)
> -        if (mlv->pb[i])
>              ff_format_io_close(s, &mlv->pb[i]);
>      return 0;
>  }

Missing indentation fixing?

- linjie


More information about the ffmpeg-devel mailing list