# HG changeset patch # User lucabe # Date 1234858371 0 # Node ID f4b9967e0131eb25eadda4b1365604bc1ff93c1c # Parent 35d76826b641efb38f3fa06ba24d94c1761a2a51 Remame rtp_get_codec_info() to ff_rtp_get_codec_info(), as it is not a static function diff -r 35d76826b641 -r f4b9967e0131 rtp.c --- a/rtp.c Tue Feb 17 08:09:34 2009 +0000 +++ b/rtp.c Tue Feb 17 08:12:51 2009 +0000 @@ -74,7 +74,7 @@ {-1, "", CODEC_TYPE_UNKNOWN, CODEC_ID_NONE, -1, -1} }; -int rtp_get_codec_info(AVCodecContext *codec, int payload_type) +int ff_rtp_get_codec_info(AVCodecContext *codec, int payload_type) { int i = 0; diff -r 35d76826b641 -r f4b9967e0131 rtp.h --- a/rtp.h Tue Feb 17 08:09:34 2009 +0000 +++ b/rtp.h Tue Feb 17 08:12:51 2009 +0000 @@ -33,7 +33,7 @@ */ int ff_rtp_get_payload_type(AVCodecContext *codec); -int rtp_get_codec_info(AVCodecContext *codec, int payload_type); +int ff_rtp_get_codec_info(AVCodecContext *codec, int payload_type); const char *ff_rtp_enc_name(int payload_type); enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type); diff -r 35d76826b641 -r f4b9967e0131 rtsp.c --- a/rtsp.c Tue Feb 17 08:09:34 2009 +0000 +++ b/rtsp.c Tue Feb 17 08:12:51 2009 +0000 @@ -425,7 +425,7 @@ st->codec->codec_type = codec_type; if (rtsp_st->sdp_payload_type < RTP_PT_PRIVATE) { /* if standard payload type, we can find the codec right now */ - rtp_get_codec_info(st->codec, rtsp_st->sdp_payload_type); + ff_rtp_get_codec_info(st->codec, rtsp_st->sdp_payload_type); } } /* put a default control url */