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
1 changed files with 2 additions and 1 deletions
|
|
@ -179,7 +179,8 @@ static void rtsp_parse_range_npt(const char *p, int64_t *start, int64_t *end)
|
|||
if (*p == '-') {
|
||||
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…
Add table
Add a link
Reference in a new issue