Browse Source

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

Fixes CID733718 again

This partly reverts commit eb7ddb5066.
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
e6ec65d2d3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/rtsp.c

+ 2
- 1
libavformat/rtsp.c View File

@@ -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…
Cancel
Save