avformat/mlvdec:drop unnecessary check before ff_format_io_close

Reviewed-by: Linjie Fu <linjie.fu@intel.com>
Reviewed-by: Jun Zhao <barryjzhao@tencent.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
pull/327/head
Steven Liu 5 years ago
parent a605e9ad1e
commit bb190ded67
  1. 3
      libavformat/mlvdec.c

@ -462,8 +462,7 @@ 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]);
ff_format_io_close(s, &mlv->pb[i]);
return 0;
}

Loading…
Cancel
Save