Revision 0369d2b0 libavformat/rtpdec.c

View differences:

libavformat/rtpdec.c
49 49
static RTPDynamicProtocolHandler mp4v_es_handler= {"MP4V-ES", CODEC_TYPE_VIDEO, CODEC_ID_MPEG4};
50 50
static RTPDynamicProtocolHandler mpeg4_generic_handler= {"mpeg4-generic", CODEC_TYPE_AUDIO, CODEC_ID_AAC};
51 51

  
52
static void register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
52
void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
53 53
{
54 54
    handler->next= RTPFirstDynamicPayloadHandler;
55 55
    RTPFirstDynamicPayloadHandler= handler;
......
57 57

  
58 58
void av_register_rtp_dynamic_payload_handlers(void)
59 59
{
60
    register_dynamic_payload_handler(&mp4v_es_handler);
61
    register_dynamic_payload_handler(&mpeg4_generic_handler);
62
    register_dynamic_payload_handler(&ff_h264_dynamic_handler);
60
    ff_register_dynamic_payload_handler(&mp4v_es_handler);
61
    ff_register_dynamic_payload_handler(&mpeg4_generic_handler);
62
    ff_register_dynamic_payload_handler(&ff_h264_dynamic_handler);
63 63
}
64 64

  
65 65
static int rtcp_parse_packet(RTPDemuxContext *s, const unsigned char *buf, int len)

Also available in: Unified diff