git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a605e9a
)
avformat/mlvdec:drop unnecessary check before ff_format_io_close
author
Steven Liu
<lq@chinaffmpeg.org>
Sat, 9 Nov 2019 02:27:14 +0000
(11:27 +0900)
committer
Steven Liu
<lq@chinaffmpeg.org>
Sat, 9 Nov 2019 02:27:14 +0000
(11:27 +0900)
Reviewed-by: Linjie Fu <linjie.fu@intel.com>
Reviewed-by: Jun Zhao <barryjzhao@tencent.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/mlvdec.c
patch
|
blob
|
history
diff --git
a/libavformat/mlvdec.c
b/libavformat/mlvdec.c
index
68ca2c5
..
dae13ca
100644
(file)
--- 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;
}