Commit e6ec65d2 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/rtsp: print a debug level note if time parsing fails

Fixes CID733718 again

This partly reverts commit eb7ddb50.
parent ff1d85b0
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment