[FFmpeg-cvslog] Make RTPFirstDynamicPayloadHandler static to rtpdec.c
Diego Elio Pettenò
git
Wed Jan 26 04:01:17 CET 2011
ffmpeg | branch: master | Diego Elio Petten? <flameeyes at gmail.com> | Mon Jan 24 23:36:18 2011 +0000| [53d3f66baef259a1413e338229508ff32ee78c70] | committer: Michael Niedermayer
Make RTPFirstDynamicPayloadHandler static to rtpdec.c
Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit 119cc033fc88f4a7d6cc4ef6ee02097476e8f2a9)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=53d3f66baef259a1413e338229508ff32ee78c70
---
libavformat/rtpdec.c | 2 +-
libavformat/rtpdec.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index f9016d0..4f0ade1 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -51,7 +51,7 @@ static RTPDynamicProtocolHandler ff_realmedia_mp3_dynamic_handler = {
};
/* statistics functions */
-RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler= NULL;
+static RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler= NULL;
void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
{
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index c5a5217..a27f743 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -189,7 +189,6 @@ struct RTPDemuxContext {
int max_frames_per_packet;
};
-extern RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler;
void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler);
RTPDynamicProtocolHandler *ff_rtp_handler_find_by_name(const char *name,
enum AVMediaType codec_type);
More information about the ffmpeg-cvslog
mailing list