aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2009-02-16 09:36:21 +0000
committerLuca Abeni <lucabe72@email.it>2009-02-16 09:36:21 +0000
commit0550b58f4e8091959242f57d15be50e2bf23880f (patch)
treebd35ce6c7971acec5d08bee719fc2a54696f84c7 /libavformat
parent42402a55b05e3bb70b4029673a7d08452861a090 (diff)
downloadffmpeg-0550b58f4e8091959242f57d15be50e2bf23880f.tar.gz
Rename rtp_get_payload_type() to ff_rtp_get_payload_type(), as it is not
a static function Originally committed as revision 17364 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtp.c2
-rw-r--r--libavformat/rtp.h2
-rw-r--r--libavformat/rtpenc.c2
-rw-r--r--libavformat/sdp.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c
index d284f638df..94fc273128 100644
--- a/libavformat/rtp.c
+++ b/libavformat/rtp.c
@@ -93,7 +93,7 @@ int rtp_get_codec_info(AVCodecContext *codec, int payload_type)
return -1;
}
-int rtp_get_payload_type(AVCodecContext *codec)
+int ff_rtp_get_payload_type(AVCodecContext *codec)
{
int i, payload_type;
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index 6a19225cac..1347045f3a 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -24,7 +24,7 @@
#include "libavcodec/avcodec.h"
/** return < 0 if unknown payload type */
-int rtp_get_payload_type(AVCodecContext *codec);
+int ff_rtp_get_payload_type(AVCodecContext *codec);
#define RTP_PT_PRIVATE 96
#define RTP_VERSION 2
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 0e129acea6..3563cbe8b1 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -49,7 +49,7 @@ static int rtp_write_header(AVFormatContext *s1)
return -1;
st = s1->streams[0];
- payload_type = rtp_get_payload_type(st->codec);
+ payload_type = ff_rtp_get_payload_type(st->codec);
if (payload_type < 0)
payload_type = RTP_PT_PRIVATE; /* private payload type */
s->payload_type = payload_type;
diff --git a/libavformat/sdp.c b/libavformat/sdp.c
index 29090b19e5..d5312c48d9 100644
--- a/libavformat/sdp.c
+++ b/libavformat/sdp.c
@@ -233,7 +233,7 @@ static void sdp_write_media(char *buff, int size, AVCodecContext *c, const char
const char *type;
int payload_type;
- payload_type = rtp_get_payload_type(c);
+ payload_type = ff_rtp_get_payload_type(c);
if (payload_type < 0) {
payload_type = 96; /* FIXME: how to assign a private pt? rtp.c is broken too */
}