mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
ffprobe: fix use of uninitialized variable
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2955cd4482
commit
7fb4b0368d
@ -3328,6 +3328,7 @@ static int parse_read_interval(const char *interval_spec,
|
|||||||
}
|
}
|
||||||
interval->end = lli;
|
interval->end = lli;
|
||||||
} else {
|
} else {
|
||||||
|
interval->duration_frames = 0;
|
||||||
ret = av_parse_time(&us, p, 1);
|
ret = av_parse_time(&us, p, 1);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
av_log(NULL, AV_LOG_ERROR, "Invalid interval end/duration specification '%s'\n", p);
|
av_log(NULL, AV_LOG_ERROR, "Invalid interval end/duration specification '%s'\n", p);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user