mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-14 03:11:20 +00: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:
parent
a605e9ad1e
commit
bb190ded67
@ -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…
Reference in New Issue
Block a user