Mercurial > libavformat.hg
diff raw.c @ 1169:d18cc9a1fd02 libavformat
allow individual selection of muxers and demuxers
author | mru |
---|---|
date | Mon, 10 Jul 2006 21:14:37 +0000 |
parents | d89d7ef290da |
children | e59b75051ded |
line wrap: on
line diff
--- a/raw.c Mon Jul 10 12:10:10 2006 +0000 +++ b/raw.c Mon Jul 10 21:14:37 2006 +0000 @@ -813,70 +813,3 @@ .flags = AVFMT_NOFILE | AVFMT_RAWPICTURE, }; #endif //CONFIG_MUXERS - -#ifndef CONFIG_MUXERS -#define av_register_output_format(format) -#endif -#ifndef CONFIG_DEMUXERS -#define av_register_input_format(format) -#endif - -int raw_init(void) -{ - - av_register_input_format(&shorten_demuxer); - av_register_input_format(&flac_demuxer); - av_register_output_format(&flac_muxer); - - av_register_input_format(&ac3_demuxer); - av_register_output_format(&ac3_muxer); - - av_register_input_format(&aac_demuxer); - - av_register_input_format(&dts_demuxer); - - av_register_input_format(&h261_demuxer); - av_register_output_format(&h261_muxer); - - av_register_input_format(&h263_demuxer); - av_register_output_format(&h263_muxer); - - av_register_input_format(&m4v_demuxer); - av_register_output_format(&m4v_muxer); - - av_register_input_format(&h264_demuxer); - av_register_output_format(&h264_muxer); - - av_register_input_format(&mpegvideo_demuxer); - av_register_output_format(&mpeg1video_muxer); - - av_register_output_format(&mpeg2video_muxer); - - av_register_input_format(&mjpeg_demuxer); - av_register_output_format(&mjpeg_muxer); - - av_register_input_format(&ingenient_demuxer); - - av_register_input_format(&pcm_s16le_demuxer); - av_register_output_format(&pcm_s16le_muxer); - av_register_input_format(&pcm_s16be_demuxer); - av_register_output_format(&pcm_s16be_muxer); - av_register_input_format(&pcm_u16le_demuxer); - av_register_output_format(&pcm_u16le_muxer); - av_register_input_format(&pcm_u16be_demuxer); - av_register_output_format(&pcm_u16be_muxer); - av_register_input_format(&pcm_s8_demuxer); - av_register_output_format(&pcm_s8_muxer); - av_register_input_format(&pcm_u8_demuxer); - av_register_output_format(&pcm_u8_muxer); - av_register_input_format(&pcm_mulaw_demuxer); - av_register_output_format(&pcm_mulaw_muxer); - av_register_input_format(&pcm_alaw_demuxer); - av_register_output_format(&pcm_alaw_muxer); - - av_register_input_format(&rawvideo_demuxer); - av_register_output_format(&rawvideo_muxer); - - av_register_output_format(&null_muxer); - return 0; -}