Merge commit 'feeafb4adabd5c17de1738ed9962e40892b20edb'

* commit 'feeafb4adabd5c17de1738ed9962e40892b20edb':
  lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/44/merge
Michael Niedermayer 11 years ago
commit d3e13250a0
  1. 4
      libavformat/allformats.c
  2. 2
      libavformat/rdt.c
  3. 2
      libavformat/rdt.h
  4. 2
      libavformat/rtpdec.c
  5. 2
      libavformat/rtpdec.h

@ -248,8 +248,8 @@ void av_register_all(void)
REGISTER_DEMUXER (SBG, sbg); REGISTER_DEMUXER (SBG, sbg);
REGISTER_DEMUXER (SDP, sdp); REGISTER_DEMUXER (SDP, sdp);
#if CONFIG_RTPDEC #if CONFIG_RTPDEC
av_register_rtp_dynamic_payload_handlers(); ff_register_rtp_dynamic_payload_handlers();
av_register_rdt_dynamic_payload_handlers(); ff_register_rdt_dynamic_payload_handlers();
#endif #endif
REGISTER_DEMUXER (SEGAFILM, segafilm); REGISTER_DEMUXER (SEGAFILM, segafilm);
REGISTER_MUXER (SEGMENT, segment); REGISTER_MUXER (SEGMENT, segment);

@ -564,7 +564,7 @@ RDT_HANDLER(live_audio, "x-pn-multirate-realaudio-live", AVMEDIA_TYPE_AUDIO);
RDT_HANDLER(video, "x-pn-realvideo", AVMEDIA_TYPE_VIDEO); RDT_HANDLER(video, "x-pn-realvideo", AVMEDIA_TYPE_VIDEO);
RDT_HANDLER(audio, "x-pn-realaudio", AVMEDIA_TYPE_AUDIO); RDT_HANDLER(audio, "x-pn-realaudio", AVMEDIA_TYPE_AUDIO);
void av_register_rdt_dynamic_payload_handlers(void) void ff_register_rdt_dynamic_payload_handlers(void)
{ {
ff_register_dynamic_payload_handler(&rdt_video_handler); ff_register_dynamic_payload_handler(&rdt_video_handler);
ff_register_dynamic_payload_handler(&rdt_audio_handler); ff_register_dynamic_payload_handler(&rdt_audio_handler);

@ -62,7 +62,7 @@ void ff_rdt_calc_response_and_checksum(char response[41], char chksum[9],
/** /**
* Register RDT-related dynamic payload handlers with our cache. * Register RDT-related dynamic payload handlers with our cache.
*/ */
void av_register_rdt_dynamic_payload_handlers(void); void ff_register_rdt_dynamic_payload_handlers(void);
/** /**
* Add subscription information to Subscribe parameter string. * Add subscription information to Subscribe parameter string.

@ -58,7 +58,7 @@ void ff_register_dynamic_payload_handler(RTPDynamicProtocolHandler *handler)
rtp_first_dynamic_payload_handler = handler; rtp_first_dynamic_payload_handler = handler;
} }
void av_register_rtp_dynamic_payload_handlers(void) void ff_register_rtp_dynamic_payload_handlers(void)
{ {
ff_register_dynamic_payload_handler(&ff_amr_nb_dynamic_handler); ff_register_dynamic_payload_handler(&ff_amr_nb_dynamic_handler);
ff_register_dynamic_payload_handler(&ff_amr_wb_dynamic_handler); ff_register_dynamic_payload_handler(&ff_amr_wb_dynamic_handler);

@ -205,7 +205,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p,
PayloadContext *data, PayloadContext *data,
char *attr, char *value)); char *attr, char *value));
void av_register_rtp_dynamic_payload_handlers(void); void ff_register_rtp_dynamic_payload_handlers(void);
/** /**
* Close the dynamic buffer and make a packet from it. * Close the dynamic buffer and make a packet from it.

Loading…
Cancel
Save