[FFmpeg-cvslog] ffprobe: fix use of uninitialized variable
Zhao Zhili
git at videolan.org
Fri Aug 18 04:59:19 EEST 2017
ffmpeg | branch: master | Zhao Zhili <wantlamy at gmail.com> | Thu Aug 17 10:24:01 2017 +0800| [7fb4b0368de18fc150e72a9190a4c87827d2d9d2] | committer: Michael Niedermayer
ffprobe: fix use of uninitialized variable
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7fb4b0368de18fc150e72a9190a4c87827d2d9d2
---
ffprobe.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ffprobe.c b/ffprobe.c
index f22c4f57ad..50d7c1a777 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -3328,6 +3328,7 @@ static int parse_read_interval(const char *interval_spec,
}
interval->end = lli;
} else {
+ interval->duration_frames = 0;
ret = av_parse_time(&us, p, 1);
if (ret < 0) {
av_log(NULL, AV_LOG_ERROR, "Invalid interval end/duration specification '%s'\n", p);
More information about the ffmpeg-cvslog
mailing list