Commit bb190ded authored by Steven Liu's avatar Steven Liu

avformat/mlvdec:drop unnecessary check before ff_format_io_close

Reviewed-by: 's avatarLinjie Fu <linjie.fu@intel.com>
Reviewed-by: 's avatarJun Zhao <barryjzhao@tencent.com>
Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent a605e9ad
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment