@ -439,7 +439,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
/* no corresponding stream */
if ( rt - > transport = = RTSP_TRANSPORT_RAW ) {
if ( ! rt - > ts & & CONFIG_RTPDEC )
rt - > ts = ff _mpegts_parse_open( s ) ;
rt - > ts = avpriv _mpegts_parse_open( s ) ;
} else {
RTPDynamicProtocolHandler * handler ;
handler = ff_rtp_handler_find_by_id (
@ -728,7 +728,7 @@ void ff_rtsp_close_streams(AVFormatContext *s)
avformat_close_input ( & rt - > asf_ctx ) ;
}
if ( rt - > ts & & CONFIG_RTPDEC )
ff _mpegts_parse_close( rt - > ts ) ;
avpriv _mpegts_parse_close( rt - > ts ) ;
av_free ( rt - > p ) ;
av_free ( rt - > recvbuf ) ;
}
@ -1977,7 +1977,7 @@ int ff_rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt)
} else if ( rt - > transport = = RTSP_TRANSPORT_RTP ) {
ret = ff_rtp_parse_packet ( rt - > cur_transport_priv , pkt , NULL , 0 ) ;
} else if ( rt - > ts & & CONFIG_RTPDEC ) {
ret = ff _mpegts_parse_packet( rt - > ts , pkt , rt - > recvbuf + rt - > recvbuf_pos , rt - > recvbuf_len - rt - > recvbuf_pos ) ;
ret = avpriv _mpegts_parse_packet( rt - > ts , pkt , rt - > recvbuf + rt - > recvbuf_pos , rt - > recvbuf_len - rt - > recvbuf_pos ) ;
if ( ret > = 0 ) {
rt - > recvbuf_pos + = ret ;
ret = rt - > recvbuf_pos < rt - > recvbuf_len ;
@ -2116,7 +2116,7 @@ redo:
}
}
} else if ( rt - > ts & & CONFIG_RTPDEC ) {
ret = ff _mpegts_parse_packet( rt - > ts , pkt , rt - > recvbuf , len ) ;
ret = avpriv _mpegts_parse_packet( rt - > ts , pkt , rt - > recvbuf , len ) ;
if ( ret > = 0 ) {
if ( ret < len ) {
rt - > recvbuf_len = len ;