diff options
Diffstat (limited to 'libavformat/mlvdec.c')
-rw-r--r-- | libavformat/mlvdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index 68ca2c5e1c..dae13cae53 100644 --- a/libavformat/mlvdec.c +++ b/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; } |