diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-15 20:19:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-15 20:21:37 +0200 |
commit | e6ec65d2d3295be905be29fc22d4bcebf1c697f6 (patch) | |
tree | 516f4a3206319fe9d0ad2db969daad8e0e6868ea | |
parent | ff1d85b0ede12fc9db4fd5df724d3a751be86de5 (diff) | |
download | ffmpeg-e6ec65d2d3295be905be29fc22d4bcebf1c697f6.tar.gz |
avformat/rtsp: print a debug level note if time parsing fails
Fixes CID733718 again
This partly reverts commit eb7ddb5066843ab16caf33b05eafb2576648b797.
-rw-r--r-- | libavformat/rtsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index b52593bd38..98bd4cbe9a 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -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); } } |