Revision 5c918b27

View differences:

libavformat/rtsp.c
877 877
                if (rt->transport == RTSP_TRANSPORT_RDT)
878 878
                    ff_rdt_parse_close(rtsp_st->tx_ctx);
879 879
                else
880
                rtp_parse_close(rtsp_st->tx_ctx);
880
                    rtp_parse_close(rtsp_st->tx_ctx);
881 881
            }
882 882
            if (rtsp_st->rtp_handle)
883 883
                url_close(rtsp_st->rtp_handle);
......
905 905
                                            rtsp_st->dynamic_protocol_context,
906 906
                                            rtsp_st->dynamic_handler);
907 907
    else
908
    rtsp_st->tx_ctx = rtp_parse_open(s, st, rtsp_st->rtp_handle, rtsp_st->sdp_payload_type, &rtsp_st->rtp_payload_data);
908
        rtsp_st->tx_ctx = rtp_parse_open(s, st, rtsp_st->rtp_handle,
909
                                         rtsp_st->sdp_payload_type,
910
                                         &rtsp_st->rtp_payload_data);
909 911

  
910 912
    if (!rtsp_st->tx_ctx) {
911 913
         return AVERROR(ENOMEM);

Also available in: Unified diff