diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index f9016d0eda..4f0ade167d 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 c5a521760d..a27f743023 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);