Make RTPFirstDynamicPayloadHandler static to rtpdec.c

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Diego Elio Pettenò 2011-01-24 23:36:18 +00:00 committed by Mans Rullgard
parent 69ad22c7a7
commit 119cc033fc
2 changed files with 1 additions and 2 deletions

View File

@ -51,7 +51,7 @@ static RTPDynamicProtocolHandler ff_realmedia_mp3_dynamic_handler = {
}; };
/* statistics functions */ /* statistics functions */
RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler= NULL; static RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler= NULL;
void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler) void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
{ {

View File

@ -189,7 +189,6 @@ struct RTPDemuxContext {
int max_frames_per_packet; int max_frames_per_packet;
}; };
extern RTPDynamicProtocolHandler *RTPFirstDynamicPayloadHandler;
void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler); void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler);
RTPDynamicProtocolHandler *ff_rtp_handler_find_by_name(const char *name, RTPDynamicProtocolHandler *ff_rtp_handler_find_by_name(const char *name,
enum AVMediaType codec_type); enum AVMediaType codec_type);