Mercurial > libavformat.hg
changeset 4502:daca5391106a libavformat
Rename rtp_get_payload_type() to ff_rtp_get_payload_type(), as it is not
a static function
author | lucabe |
---|---|
date | Mon, 16 Feb 2009 09:36:21 +0000 |
parents | 3e5b9c1a413e |
children | c3d058b6ddde |
files | rtp.c rtp.h rtpenc.c sdp.c |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rtp.c Mon Feb 16 01:55:28 2009 +0000 +++ b/rtp.c Mon Feb 16 09:36:21 2009 +0000 @@ -93,7 +93,7 @@ return -1; } -int rtp_get_payload_type(AVCodecContext *codec) +int ff_rtp_get_payload_type(AVCodecContext *codec) { int i, payload_type;
--- a/rtp.h Mon Feb 16 01:55:28 2009 +0000 +++ b/rtp.h Mon Feb 16 09:36:21 2009 +0000 @@ -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
--- a/rtpenc.c Mon Feb 16 01:55:28 2009 +0000 +++ b/rtpenc.c Mon Feb 16 09:36:21 2009 +0000 @@ -49,7 +49,7 @@ 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;
--- a/sdp.c Mon Feb 16 01:55:28 2009 +0000 +++ b/sdp.c Mon Feb 16 09:36:21 2009 +0000 @@ -233,7 +233,7 @@ 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 */ }