Commit bf6d9818 authored by Luca Abeni's avatar Luca Abeni

Remame rtp_get_codec_info() to ff_rtp_get_codec_info(), as it is not

a static function

Originally committed as revision 17390 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e5f483c6
......@@ -74,7 +74,7 @@ static const struct
{-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;
......
......@@ -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);
......
......@@ -425,7 +425,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment