Mercurial > libavformat.hg
comparison rtsp.c @ 4519:f4b9967e0131 libavformat
Remame rtp_get_codec_info() to ff_rtp_get_codec_info(), as it is not
a static function
author | lucabe |
---|---|
date | Tue, 17 Feb 2009 08:12:51 +0000 |
parents | 2a84d46427d1 |
children | 629bcd779fb8 |
comparison
equal
deleted
inserted
replaced
4518:35d76826b641 | 4519:f4b9967e0131 |
---|---|
423 st->priv_data = rtsp_st; | 423 st->priv_data = rtsp_st; |
424 rtsp_st->stream_index = st->index; | 424 rtsp_st->stream_index = st->index; |
425 st->codec->codec_type = codec_type; | 425 st->codec->codec_type = codec_type; |
426 if (rtsp_st->sdp_payload_type < RTP_PT_PRIVATE) { | 426 if (rtsp_st->sdp_payload_type < RTP_PT_PRIVATE) { |
427 /* if standard payload type, we can find the codec right now */ | 427 /* if standard payload type, we can find the codec right now */ |
428 rtp_get_codec_info(st->codec, rtsp_st->sdp_payload_type); | 428 ff_rtp_get_codec_info(st->codec, rtsp_st->sdp_payload_type); |
429 } | 429 } |
430 } | 430 } |
431 /* put a default control url */ | 431 /* put a default control url */ |
432 av_strlcpy(rtsp_st->control_url, s->filename, sizeof(rtsp_st->control_url)); | 432 av_strlcpy(rtsp_st->control_url, s->filename, sizeof(rtsp_st->control_url)); |
433 break; | 433 break; |