1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

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>
This commit is contained in:
Steven Liu 2019-11-09 11:27:14 +09:00
parent a605e9ad1e
commit bb190ded67

View File

@ -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;
}