Revision 2c35a6bd

View differences:

libavformat/rtsp.c
1681 1681
    case RTSP_LOWER_TRANSPORT_UDP:
1682 1682
    case RTSP_LOWER_TRANSPORT_UDP_MULTICAST:
1683 1683
        len = udp_read_packet(s, &rtsp_st, rt->recvbuf, RECVBUF_SIZE, wait_end);
1684
        if (len >=0 && rtsp_st->transport_priv && rt->transport == RTSP_TRANSPORT_RTP)
1684
        if (len > 0 && rtsp_st->transport_priv && rt->transport == RTSP_TRANSPORT_RTP)
1685 1685
            rtp_check_and_send_back_rr(rtsp_st->transport_priv, len);
1686 1686
        break;
1687 1687
    }

Also available in: Unified diff