Revision 9fcae973 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
22 22
#include "libavutil/base64.h"
23 23
#include "libavutil/avstring.h"
24 24
#include "libavutil/intreadwrite.h"
25
#include "libavutil/parseutils.h"
25 26
#include "libavutil/random_seed.h"
26 27
#include "avformat.h"
27 28

  
......
99 100
    *end = AV_NOPTS_VALUE;
100 101

  
101 102
    get_word_sep(buf, sizeof(buf), "-", &p);
102
    *start = parse_date(buf, 1);
103
    av_parse_time(start, buf, 1);
103 104
    if (*p == '-') {
104 105
        p++;
105 106
        get_word_sep(buf, sizeof(buf), "-", &p);
106
        *end = parse_date(buf, 1);
107
        av_parse_time(end, buf, 1);
107 108
    }
108 109
//    av_log(NULL, AV_LOG_DEBUG, "Range Start: %lld\n", *start);
109 110
//    av_log(NULL, AV_LOG_DEBUG, "Range End: %lld\n", *end);

Also available in: Unified diff