Revision 2901cc9a libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1129 1129
            rt->transport = reply->transports[0].transport;
1130 1130
        }
1131 1131

  
1132
        /* close RTP connection if not choosen */
1132
        /* close RTP connection if not chosen */
1133 1133
        if (reply->transports[0].lower_transport != RTSP_LOWER_TRANSPORT_UDP &&
1134 1134
            (lower_transport == RTSP_LOWER_TRANSPORT_UDP)) {
1135 1135
            url_close(rtsp_st->rtp_handle);

Also available in: Unified diff