[FFmpeg-cvslog] r17364 - in trunk/libavformat: rtp.c rtp.h rtpenc.c sdp.c
lucabe
subversion
Mon Feb 16 10:36:21 CET 2009
Author: lucabe
Date: Mon Feb 16 10:36:21 2009
New Revision: 17364
Log:
Rename rtp_get_payload_type() to ff_rtp_get_payload_type(), as it is not
a static function
Modified:
trunk/libavformat/rtp.c
trunk/libavformat/rtp.h
trunk/libavformat/rtpenc.c
trunk/libavformat/sdp.c
Modified: trunk/libavformat/rtp.c
==============================================================================
--- trunk/libavformat/rtp.c Mon Feb 16 07:57:11 2009 (r17363)
+++ trunk/libavformat/rtp.c Mon Feb 16 10:36:21 2009 (r17364)
@@ -93,7 +93,7 @@ int rtp_get_codec_info(AVCodecContext *c
return -1;
}
-int rtp_get_payload_type(AVCodecContext *codec)
+int ff_rtp_get_payload_type(AVCodecContext *codec)
{
int i, payload_type;
Modified: trunk/libavformat/rtp.h
==============================================================================
--- trunk/libavformat/rtp.h Mon Feb 16 07:57:11 2009 (r17363)
+++ trunk/libavformat/rtp.h Mon Feb 16 10:36:21 2009 (r17364)
@@ -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
Modified: trunk/libavformat/rtpenc.c
==============================================================================
--- trunk/libavformat/rtpenc.c Mon Feb 16 07:57:11 2009 (r17363)
+++ trunk/libavformat/rtpenc.c Mon Feb 16 10:36:21 2009 (r17364)
@@ -49,7 +49,7 @@ static int rtp_write_header(AVFormatCont
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;
Modified: trunk/libavformat/sdp.c
==============================================================================
--- trunk/libavformat/sdp.c Mon Feb 16 07:57:11 2009 (r17363)
+++ trunk/libavformat/sdp.c Mon Feb 16 10:36:21 2009 (r17364)
@@ -233,7 +233,7 @@ static void sdp_write_media(char *buff,
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 */
}
More information about the ffmpeg-cvslog
mailing list