mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
avformat/rtsp: print a debug level note if time parsing fails
Fixes CID733718 again
This partly reverts commit eb7ddb5066
.
This commit is contained in:
parent
ff1d85b0ed
commit
e6ec65d2d3
@ -179,7 +179,8 @@ static void rtsp_parse_range_npt(const char *p, int64_t *start, int64_t *end)
|
|||||||
if (*p == '-') {
|
if (*p == '-') {
|
||||||
p++;
|
p++;
|
||||||
get_word_sep(buf, sizeof(buf), "-", &p);
|
get_word_sep(buf, sizeof(buf), "-", &p);
|
||||||
av_parse_time(end, buf, 1);
|
if (av_parse_time(end, buf, 1) < 0)
|
||||||
|
av_log(NULL, AV_LOG_DEBUG, "Failed to parse interval end specification '%s'\n", buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user