Revision c24a4034 libavformat/rtspdec.c

View differences:

libavformat/rtspdec.c
311 311

  
312 312
    ret = ff_rtsp_fetch_packet(s, pkt);
313 313
    if (ret < 0) {
314
        if (ret == FF_NETERROR(ETIMEDOUT) && !rt->packets) {
314
        if (ret == AVERROR(ETIMEDOUT) && !rt->packets) {
315 315
            if (rt->lower_transport == RTSP_LOWER_TRANSPORT_UDP &&
316 316
                rt->lower_transport_mask & (1 << RTSP_LOWER_TRANSPORT_TCP)) {
317 317
                RTSPMessageHeader reply1, *reply = &reply1;

Also available in: Unified diff