Revision dce37564 libavformat/rtspdec.c

View differences:

libavformat/rtspdec.c
28 28
#include "os_support.h"
29 29
#include "rtsp.h"
30 30
#include "rdt.h"
31
#include "url.h"
31 32

  
32 33
//#define DEBUG
33 34
//#define DEBUG_RTP_TCP
......
200 201
        if (rt->state != RTSP_STATE_STREAMING)
201 202
            return 0;
202 203
    }
203
    ret = url_read_complete(rt->rtsp_hd, buf, 3);
204
    ret = ffurl_read_complete(rt->rtsp_hd, buf, 3);
204 205
    if (ret != 3)
205 206
        return -1;
206 207
    id  = buf[0];
......
211 212
    if (len > buf_size || len < 12)
212 213
        goto redo;
213 214
    /* get the data */
214
    ret = url_read_complete(rt->rtsp_hd, buf, len);
215
    ret = ffurl_read_complete(rt->rtsp_hd, buf, len);
215 216
    if (ret != len)
216 217
        return -1;
217 218
    if (rt->transport == RTSP_TRANSPORT_RDT &&

Also available in: Unified diff