OSDN Git Service

Make RTPFirstDynamicPayloadHandler static to rtpdec.c
authorDiego Elio Pettenò <flameeyes@gmail.com>
Mon, 24 Jan 2011 23:36:18 +0000 (23:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Jan 2011 02:43:30 +0000 (03:43 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 119cc033fc88f4a7d6cc4ef6ee02097476e8f2a9)

libavformat/rtpdec.c
libavformat/rtpdec.h

index f9016d0..4f0ade1 100644 (file)
@@ -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)
 {
index c5a5217..a27f743 100644 (file)
@@ -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);