diff options
author | Zhao Zhili <wantlamy@gmail.com> | 2017-08-17 10:24:01 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-08-18 03:02:11 +0200 |
commit | 7fb4b0368de18fc150e72a9190a4c87827d2d9d2 (patch) | |
tree | 6ddc1bf14fa0170ba42d9908dde20c6b256ab329 /ffprobe.c | |
parent | 2955cd44828239747ef646a80e9908d5b962bfc1 (diff) | |
download | ffmpeg-7fb4b0368de18fc150e72a9190a4c87827d2d9d2.tar.gz |
ffprobe: fix use of uninitialized variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |