Commit 5b9b3b68 authored by Aurelien Jacobs's avatar Aurelien Jacobs

cleanup the #ifdef mess in muxer/demuxer registration

Originally committed as revision 7175 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 84bf226b
...@@ -826,8 +826,8 @@ done ...@@ -826,8 +826,8 @@ done
ENCODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_encoder)' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'` ENCODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_encoder)' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'`
DECODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_decoder)' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'` DECODER_LIST=`grep 'register_avcodec(&[a-z0-9_]*_decoder)' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'`
PARSER_LIST=`grep 'av_register_codec_parser(&[a-z]' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'` PARSER_LIST=`grep 'av_register_codec_parser(&[a-z]' "$source_path/libavcodec/allcodecs.c" | sed 's/.*&\(.*\)).*/\1/'`
MUXER_LIST=`grep 'av_register_output_format(&[a-z]' "$source_path/libavformat/allformats.c" | sed 's/.*&\(.*\)).*/\1/'` MUXER_LIST=`sed -n 's/^[^#]*_MUX.*, *\(.*\)).*/\1_muxer/p' "$source_path/libavformat/allformats.c"`
DEMUXER_LIST=`grep 'av_register_input_format(&[a-z]' "$source_path/libavformat/allformats.c" | sed 's/.*&\(.*\)).*/\1/'` DEMUXER_LIST=`sed -n 's/^[^#]*DEMUX.*, *\(.*\)).*/\1_demuxer/p' "$source_path/libavformat/allformats.c"`
enable $ENCODER_LIST $DECODER_LIST $PARSER_LIST $MUXER_LIST $DEMUXER_LIST enable $ENCODER_LIST $DECODER_LIST $PARSER_LIST $MUXER_LIST $DEMUXER_LIST
......
...@@ -21,6 +21,12 @@ ...@@ -21,6 +21,12 @@
#include "avformat.h" #include "avformat.h"
#include "allformats.h" #include "allformats.h"
#define REGISTER_MUXER(X,x) \
if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer)
#define REGISTER_DEMUXER(X,x) \
if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer)
#define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
/* If you do not call this function, then you can select exactly which /* If you do not call this function, then you can select exactly which
formats you want to support */ formats you want to support */
...@@ -38,440 +44,129 @@ void av_register_all(void) ...@@ -38,440 +44,129 @@ void av_register_all(void)
avcodec_init(); avcodec_init();
avcodec_register_all(); avcodec_register_all();
#ifdef CONFIG_FOURXM_DEMUXER REGISTER_DEMUXER (AAC, aac);
av_register_input_format(&fourxm_demuxer); REGISTER_MUXDEMUX(AC3, ac3);
#endif REGISTER_MUXER (ADTS, adts);
#ifdef CONFIG_ADTS_MUXER REGISTER_MUXDEMUX(AIFF, aiff);
av_register_output_format(&adts_muxer); REGISTER_MUXDEMUX(AMR, amr);
#endif REGISTER_MUXDEMUX(ASF, asf);
#ifdef CONFIG_AIFF_DEMUXER REGISTER_MUXER (ASF_STREAM, asf_stream);
av_register_input_format(&aiff_demuxer); REGISTER_MUXDEMUX(AU, au);
#endif
#ifdef CONFIG_AIFF_MUXER
av_register_output_format(&aiff_muxer);
#endif
#ifdef CONFIG_AMR_DEMUXER
av_register_input_format(&amr_demuxer);
#endif
#ifdef CONFIG_AMR_MUXER
av_register_output_format(&amr_muxer);
#endif
#ifdef CONFIG_ASF_DEMUXER
av_register_input_format(&asf_demuxer);
#endif
#ifdef CONFIG_ASF_MUXER
av_register_output_format(&asf_muxer);
#endif
#ifdef CONFIG_ASF_STREAM_MUXER
av_register_output_format(&asf_stream_muxer);
#endif
#ifdef CONFIG_AU_DEMUXER
av_register_input_format(&au_demuxer);
#endif
#ifdef CONFIG_AU_MUXER
av_register_output_format(&au_muxer);
#endif
#if defined(CONFIG_AUDIO_OSS) || defined(CONFIG_AUDIO_BEOS) #if defined(CONFIG_AUDIO_OSS) || defined(CONFIG_AUDIO_BEOS)
#ifdef CONFIG_AUDIO_DEMUXER REGISTER_MUXDEMUX(AUDIO, audio);
av_register_input_format(&audio_demuxer);
#endif
#ifdef CONFIG_AUDIO_MUXER
av_register_output_format(&audio_muxer);
#endif
#endif /* CONFIG_AUDIO_OSS || CONFIG_AUDIO_BEOS */
#ifdef CONFIG_AVI_DEMUXER
av_register_input_format(&avi_demuxer);
#endif
#ifdef CONFIG_AVI_MUXER
av_register_output_format(&avi_muxer);
#endif #endif
REGISTER_MUXDEMUX(AVI, avi);
#ifdef CONFIG_AVISYNTH #ifdef CONFIG_AVISYNTH
av_register_input_format(&avisynth_demuxer); av_register_input_format(&avisynth_demuxer);
#endif #endif
#ifdef CONFIG_AVS_DEMUXER REGISTER_DEMUXER (AVS, avs);
av_register_input_format(&avs_demuxer); REGISTER_MUXER (CRC, crc);
#endif REGISTER_DEMUXER (DAUD, daud);
#ifdef CONFIG_CRC_MUXER
av_register_output_format(&crc_muxer);
#endif
#ifdef CONFIG_FRAMECRC_MUXER
av_register_output_format(&framecrc_muxer);
#endif
#ifdef CONFIG_DAUD_DEMUXER
av_register_input_format(&daud_demuxer);
#endif
#ifdef CONFIG_DC1394 #ifdef CONFIG_DC1394
#ifdef CONFIG_DC1394_DEMUXER REGISTER_DEMUXER (DC1394, dc1394);
av_register_input_format(&dc1394_demuxer);
#endif
#endif /* CONFIG_DC1394 */
#ifdef CONFIG_DSICIN_DEMUXER
av_register_input_format(&dsicin_demuxer);
#endif #endif
REGISTER_DEMUXER (DSICIN, dsicin);
REGISTER_DEMUXER (DTS, dts);
REGISTER_MUXDEMUX(DV, dv);
#ifdef CONFIG_DV1394 #ifdef CONFIG_DV1394
#ifdef CONFIG_DV1394_DEMUXER REGISTER_DEMUXER (DV1394, dv1394);
av_register_input_format(&dv1394_demuxer); #endif
#endif REGISTER_DEMUXER (EA, ea);
#endif /* CONFIG_DV1394 */ REGISTER_MUXDEMUX(FFM, ffm);
#ifdef CONFIG_DV_DEMUXER REGISTER_MUXDEMUX(FLAC, flac);
av_register_input_format(&dv_demuxer); REGISTER_DEMUXER (FLIC, flic);
#endif REGISTER_MUXDEMUX(FLV, flv);
#ifdef CONFIG_DV_MUXER REGISTER_DEMUXER (FOURXM, fourxm);
av_register_output_format(&dv_muxer); REGISTER_MUXER (FRAMECRC, framecrc);
#endif REGISTER_MUXDEMUX(GIF, gif);
#ifdef CONFIG_EA_DEMUXER REGISTER_DEMUXER (GXF, gxf);
av_register_input_format(&ea_demuxer); #ifdef CONFIG_GPL
#endif REGISTER_MUXER (GXF, gxf);
#ifdef CONFIG_FFM_DEMUXER #endif
av_register_input_format(&ffm_demuxer); REGISTER_MUXDEMUX(H261, h261);
#endif REGISTER_MUXDEMUX(H263, h263);
#ifdef CONFIG_FFM_MUXER REGISTER_MUXDEMUX(H264, h264);
av_register_output_format(&ffm_muxer); REGISTER_DEMUXER (IDCIN, idcin);
#endif REGISTER_MUXDEMUX(IMAGE2, image2);
#ifdef CONFIG_FLIC_DEMUXER REGISTER_MUXDEMUX(IMAGE2PIPE, image2pipe);
av_register_input_format(&flic_demuxer); REGISTER_DEMUXER (INGENIENT, ingenient);
#endif REGISTER_DEMUXER (IPMOVIE, ipmovie);
#ifdef CONFIG_FLV_DEMUXER REGISTER_MUXDEMUX(M4V, m4v);
av_register_input_format(&flv_demuxer); REGISTER_DEMUXER (MATROSKA, matroska);
#endif REGISTER_MUXDEMUX(MJPEG, mjpeg);
#ifdef CONFIG_FLV_MUXER REGISTER_DEMUXER (MM, mm);
av_register_output_format(&flv_muxer); REGISTER_MUXDEMUX(MMF, mmf);
#endif REGISTER_MUXDEMUX(MOV, mov);
#ifdef CONFIG_GIF_MUXER REGISTER_MUXER (MP2, mp2);
av_register_output_format(&gif_muxer); REGISTER_MUXDEMUX(MP3, mp3);
#endif REGISTER_MUXER (MP4, mp4);
#ifdef CONFIG_GIF_DEMUXER REGISTER_MUXER (MPEG1SYSTEM, mpeg1system);
av_register_input_format(&gif_demuxer); REGISTER_MUXER (MPEG1VCD, mpeg1vcd);
#endif REGISTER_MUXER (MPEG1VIDEO, mpeg1video);
#ifdef CONFIG_GXF_DEMUXER REGISTER_MUXER (MPEG2DVD, mpeg2dvd);
av_register_input_format(&gxf_demuxer); REGISTER_MUXER (MPEG2SVCD, mpeg2svcd);
#endif REGISTER_MUXER (MPEG2VIDEO, mpeg2video);
#if defined(CONFIG_GXF_MUXER) && defined(CONFIG_GPL) REGISTER_MUXER (MPEG2VOB, mpeg2vob);
av_register_output_format(&gxf_muxer); REGISTER_DEMUXER (MPEGPS, mpegps);
#endif REGISTER_MUXDEMUX(MPEGTS, mpegts);
#ifdef CONFIG_IDCIN_DEMUXER REGISTER_DEMUXER (MPEGVIDEO, mpegvideo);
av_register_input_format(&idcin_demuxer); REGISTER_MUXER (MPJPEG, mpjpeg);
#endif REGISTER_DEMUXER (MTV, mtv);
#ifdef CONFIG_ROQ_DEMUXER REGISTER_DEMUXER (MXF, mxf);
av_register_input_format(&roq_demuxer); REGISTER_DEMUXER (NSV, nsv);
#endif REGISTER_MUXER (NULL, null);
#ifdef CONFIG_IMAGE2_DEMUXER REGISTER_DEMUXER (NUT, nut);
av_register_input_format(&image2_demuxer);
#endif
#ifdef CONFIG_IMAGE2PIPE_DEMUXER
av_register_input_format(&image2pipe_demuxer);
#endif
#ifdef CONFIG_IMAGE2_MUXER
av_register_output_format(&image2_muxer);
#endif
#ifdef CONFIG_IMAGE2PIPE_MUXER
av_register_output_format(&image2pipe_muxer);
#endif
#ifdef CONFIG_IPMOVIE_DEMUXER
av_register_input_format(&ipmovie_demuxer);
#endif
#ifdef CONFIG_MATROSKA_DEMUXER
av_register_input_format(&matroska_demuxer);
#endif
#ifdef CONFIG_MM_DEMUXER
av_register_input_format(&mm_demuxer);
#endif
#ifdef CONFIG_MMF_DEMUXER
av_register_input_format(&mmf_demuxer);
#endif
#ifdef CONFIG_MMF_MUXER
av_register_output_format(&mmf_muxer);
#endif
#ifdef CONFIG_MOV_DEMUXER
av_register_input_format(&mov_demuxer);
#endif
#ifdef CONFIG_MOV_MUXER
av_register_output_format(&mov_muxer);
#endif
#ifdef CONFIG_MTV_DEMUXER
av_register_input_format(&mtv_demuxer);
#endif
#ifdef CONFIG_TGP_MUXER
av_register_output_format(&tgp_muxer);
#endif
#ifdef CONFIG_MP4_MUXER
av_register_output_format(&mp4_muxer);
#endif
#ifdef CONFIG_PSP_MUXER
av_register_output_format(&psp_muxer);
#endif
#ifdef CONFIG_TG2_MUXER
av_register_output_format(&tg2_muxer);
#endif
#ifdef CONFIG_MP3_DEMUXER
av_register_input_format(&mp3_demuxer);
#endif
#ifdef CONFIG_MP2_MUXER
av_register_output_format(&mp2_muxer);
#endif
#ifdef CONFIG_MP3_MUXER
av_register_output_format(&mp3_muxer);
#endif
#ifdef CONFIG_MPEG1SYSTEM_MUXER
av_register_output_format(&mpeg1system_muxer);
#endif
#ifdef CONFIG_MPEG1VCD_MUXER
av_register_output_format(&mpeg1vcd_muxer);
#endif
#ifdef CONFIG_MPEG2VOB_MUXER
av_register_output_format(&mpeg2vob_muxer);
#endif
#ifdef CONFIG_MPEG2SVCD_MUXER
av_register_output_format(&mpeg2svcd_muxer);
#endif
#ifdef CONFIG_MPEG2DVD_MUXER
av_register_output_format(&mpeg2dvd_muxer);
#endif
#ifdef CONFIG_MPEGPS_DEMUXER
av_register_input_format(&mpegps_demuxer);
#endif
#ifdef CONFIG_MPEGTS_DEMUXER
av_register_input_format(&mpegts_demuxer);
#endif
#ifdef CONFIG_MPEGTS_MUXER
av_register_output_format(&mpegts_muxer);
#endif
#ifdef CONFIG_MPJPEG_MUXER
av_register_output_format(&mpjpeg_muxer);
#endif
#ifdef CONFIG_MXF_DEMUXER
av_register_input_format(&mxf_demuxer);
#endif
#ifdef CONFIG_NSV_DEMUXER
av_register_input_format(&nsv_demuxer);
#endif
#ifdef CONFIG_NUT_DEMUXER
av_register_input_format(&nut_demuxer);
#endif
#ifdef CONFIG_NUT_MUXER
#ifdef CONFIG_LIBNUT #ifdef CONFIG_LIBNUT
av_register_output_format(&nut_muxer); REGISTER_MUXER (NUT, nut);
#endif
#endif
#ifdef CONFIG_NUV_DEMUXER
av_register_input_format(&nuv_demuxer);
#endif
#ifdef CONFIG_OGG_DEMUXER
av_register_input_format(&ogg_demuxer);
#endif #endif
REGISTER_DEMUXER (NUV, nuv);
REGISTER_DEMUXER (OGG, ogg);
#ifdef CONFIG_LIBOGG #ifdef CONFIG_LIBOGG
#ifdef CONFIG_OGG_MUXER REGISTER_MUXER (OGG, ogg);
av_register_output_format(&ogg_muxer); #endif
#endif REGISTER_MUXDEMUX(PCM_ALAW, pcm_alaw);
#endif /* CONFIG_LIBOGG */ REGISTER_MUXDEMUX(PCM_MULAW, pcm_mulaw);
#ifdef CONFIG_STR_DEMUXER REGISTER_MUXDEMUX(PCM_S16BE, pcm_s16be);
av_register_input_format(&str_demuxer); REGISTER_MUXDEMUX(PCM_S16LE, pcm_s16le);
#endif REGISTER_MUXDEMUX(PCM_S8, pcm_s8);
#ifdef CONFIG_SHORTEN_DEMUXER REGISTER_MUXDEMUX(PCM_U16BE, pcm_u16be);
av_register_input_format(&shorten_demuxer); REGISTER_MUXDEMUX(PCM_U16LE, pcm_u16le);
#endif REGISTER_MUXDEMUX(PCM_U8, pcm_u8);
#ifdef CONFIG_FLAC_DEMUXER REGISTER_MUXER (PSP, psp);
av_register_input_format(&flac_demuxer); REGISTER_MUXDEMUX(RAWVIDEO, rawvideo);
#endif REGISTER_MUXDEMUX(RM, rm);
#ifdef CONFIG_FLAC_MUXER REGISTER_DEMUXER (ROQ, roq);
av_register_output_format(&flac_muxer);
#endif
#ifdef CONFIG_AC3_DEMUXER
av_register_input_format(&ac3_demuxer);
#endif
#ifdef CONFIG_AC3_MUXER
av_register_output_format(&ac3_muxer);
#endif
#ifdef CONFIG_DTS_DEMUXER
av_register_input_format(&dts_demuxer);
#endif
#ifdef CONFIG_AAC_DEMUXER
av_register_input_format(&aac_demuxer);
#endif
#ifdef CONFIG_H261_DEMUXER
av_register_input_format(&h261_demuxer);
#endif
#ifdef CONFIG_H261_MUXER
av_register_output_format(&h261_muxer);
#endif
#ifdef CONFIG_H263_DEMUXER
av_register_input_format(&h263_demuxer);
#endif
#ifdef CONFIG_H263_MUXER
av_register_output_format(&h263_muxer);
#endif
#ifdef CONFIG_M4V_DEMUXER
av_register_input_format(&m4v_demuxer);
#endif
#ifdef CONFIG_M4V_MUXER
av_register_output_format(&m4v_muxer);
#endif
#ifdef CONFIG_H264_DEMUXER
av_register_input_format(&h264_demuxer);
#endif
#ifdef CONFIG_H264_MUXER
av_register_output_format(&h264_muxer);
#endif
#ifdef CONFIG_MPEGVIDEO_DEMUXER
av_register_input_format(&mpegvideo_demuxer);
#endif
#ifdef CONFIG_MPEG1VIDEO_MUXER
av_register_output_format(&mpeg1video_muxer);
#endif
#ifdef CONFIG_MPEG2VIDEO_MUXER
av_register_output_format(&mpeg2video_muxer);
#endif
#ifdef CONFIG_MJPEG_DEMUXER
av_register_input_format(&mjpeg_demuxer);
#endif
#ifdef CONFIG_INGENIENT_DEMUXER
av_register_input_format(&ingenient_demuxer);
#endif
#ifdef CONFIG_MJPEG_MUXER
av_register_output_format(&mjpeg_muxer);
#endif
#ifdef CONFIG_PCM_S16LE_DEMUXER
av_register_input_format(&pcm_s16le_demuxer);
#endif
#ifdef CONFIG_PCM_S16LE_MUXER
av_register_output_format(&pcm_s16le_muxer);
#endif
#ifdef CONFIG_PCM_S16BE_DEMUXER
av_register_input_format(&pcm_s16be_demuxer);
#endif
#ifdef CONFIG_PCM_S16BE_MUXER
av_register_output_format(&pcm_s16be_muxer);
#endif
#ifdef CONFIG_PCM_U16LE_DEMUXER
av_register_input_format(&pcm_u16le_demuxer);
#endif
#ifdef CONFIG_PCM_U16LE_MUXER
av_register_output_format(&pcm_u16le_muxer);
#endif
#ifdef CONFIG_PCM_U16BE_DEMUXER
av_register_input_format(&pcm_u16be_demuxer);
#endif
#ifdef CONFIG_PCM_U16BE_MUXER
av_register_output_format(&pcm_u16be_muxer);
#endif
#ifdef CONFIG_PCM_S8_DEMUXER
av_register_input_format(&pcm_s8_demuxer);
#endif
#ifdef CONFIG_PCM_S8_MUXER
av_register_output_format(&pcm_s8_muxer);
#endif
#ifdef CONFIG_PCM_U8_DEMUXER
av_register_input_format(&pcm_u8_demuxer);
#endif
#ifdef CONFIG_PCM_U8_MUXER
av_register_output_format(&pcm_u8_muxer);
#endif
#ifdef CONFIG_PCM_MULAW_DEMUXER
av_register_input_format(&pcm_mulaw_demuxer);
#endif
#ifdef CONFIG_PCM_MULAW_MUXER
av_register_output_format(&pcm_mulaw_muxer);
#endif
#ifdef CONFIG_PCM_ALAW_DEMUXER
av_register_input_format(&pcm_alaw_demuxer);
#endif
#ifdef CONFIG_PCM_ALAW_MUXER
av_register_output_format(&pcm_alaw_muxer);
#endif
#ifdef CONFIG_RAWVIDEO_DEMUXER
av_register_input_format(&rawvideo_demuxer);
#endif
#ifdef CONFIG_RAWVIDEO_MUXER
av_register_output_format(&rawvideo_muxer);
#endif
#ifdef CONFIG_NULL_MUXER
av_register_output_format(&null_muxer);
#endif
#ifdef CONFIG_RM_DEMUXER
av_register_input_format(&rm_demuxer);
#endif
#ifdef CONFIG_RM_MUXER
av_register_output_format(&rm_muxer);
#endif
#ifdef CONFIG_NETWORK #ifdef CONFIG_NETWORK
#ifdef CONFIG_RTP_MUXER REGISTER_DEMUXER (REDIR, redir);
av_register_output_format(&rtp_muxer); REGISTER_MUXER (RTP, rtp);
#endif REGISTER_DEMUXER (RTSP, rtsp);
#ifdef CONFIG_RTSP_DEMUXER REGISTER_DEMUXER (SDP, sdp);
av_register_input_format(&rtsp_demuxer);
#endif
#ifdef CONFIG_SDP_DEMUXER
av_register_input_format(&sdp_demuxer);
#endif
#ifdef CONFIG_REDIR_DEMUXER
av_register_input_format(&redir_demuxer);
#endif
av_register_rtp_dynamic_payload_handlers(); av_register_rtp_dynamic_payload_handlers();
#endif /* CONFIG_NETWORK */
#ifdef CONFIG_SEGAFILM_DEMUXER
av_register_input_format(&segafilm_demuxer);
#endif
#ifdef CONFIG_VMD_DEMUXER
av_register_input_format(&vmd_demuxer);
#endif
#ifdef CONFIG_SMACKER_DEMUXER
av_register_input_format(&smacker_demuxer);
#endif
#ifdef CONFIG_SOL_DEMUXER
av_register_input_format(&sol_demuxer);
#endif
#ifdef CONFIG_SWF_DEMUXER
av_register_input_format(&swf_demuxer);
#endif
#ifdef CONFIG_SWF_MUXER
av_register_output_format(&swf_muxer);
#endif
#ifdef CONFIG_TTA_DEMUXER
av_register_input_format(&tta_demuxer);
#endif #endif
REGISTER_DEMUXER (SEGAFILM, segafilm);
REGISTER_DEMUXER (SHORTEN, shorten);
REGISTER_DEMUXER (SMACKER, smacker);
REGISTER_DEMUXER (SOL, sol);
REGISTER_DEMUXER (STR, str);
REGISTER_MUXDEMUX(SWF, swf);
REGISTER_MUXER (TG2, tg2);
REGISTER_MUXER (TGP, tgp);
REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq);
REGISTER_DEMUXER (TTA, tta);
#ifdef CONFIG_VIDEO4LINUX2 #ifdef CONFIG_VIDEO4LINUX2
#ifdef CONFIG_V4L2_DEMUXER REGISTER_DEMUXER (V4L2, v4l2);
av_register_input_format(&v4l2_demuxer);
#endif #endif
#endif /* CONFIG_VIDEO4LINUX2 */
#if defined(CONFIG_VIDEO4LINUX) || defined(CONFIG_BKTR) #if defined(CONFIG_VIDEO4LINUX) || defined(CONFIG_BKTR)
#ifdef CONFIG_VIDEO_GRAB_DEVICE_DEMUXER REGISTER_DEMUXER (VIDEO_GRAB_DEVICE, video_grab_device);
av_register_input_format(&video_grab_device_demuxer); #endif
#endif REGISTER_DEMUXER (VMD, vmd);
#endif /* CONFIG_VIDEO4LINUX || CONFIG_BKTR */ REGISTER_MUXDEMUX(VOC, voc);
#ifdef CONFIG_VOC_DEMUXER REGISTER_MUXDEMUX(WAV, wav);
av_register_input_format(&voc_demuxer); REGISTER_DEMUXER (WC3, wc3);
#endif REGISTER_DEMUXER (WSAUD, wsaud);
#ifdef CONFIG_VOC_MUXER REGISTER_DEMUXER (WSVQA, wsvqa);
av_register_output_format(&voc_muxer); REGISTER_DEMUXER (WV, wv);
#endif REGISTER_MUXDEMUX(YUV4MPEGPIPE, yuv4mpegpipe);
#ifdef CONFIG_WAV_DEMUXER
av_register_input_format(&wav_demuxer);
#endif
#ifdef CONFIG_WAV_MUXER
av_register_output_format(&wav_muxer);
#endif
#ifdef CONFIG_WC3_DEMUXER
av_register_input_format(&wc3_demuxer);
#endif
#ifdef CONFIG_WSAUD_DEMUXER
av_register_input_format(&wsaud_demuxer);
#endif
#ifdef CONFIG_WSVQA_DEMUXER
av_register_input_format(&wsvqa_demuxer);
#endif
#ifdef CONFIG_WV_DEMUXER
av_register_input_format(&wv_demuxer);
#endif
#ifdef CONFIG_YUV4MPEGPIPE_MUXER
av_register_output_format(&yuv4mpegpipe_muxer);
#endif
#ifdef CONFIG_YUV4MPEGPIPE_DEMUXER
av_register_input_format(&yuv4mpegpipe_demuxer);
#endif
#ifdef CONFIG_TIERTEXSEQ_DEMUXER
av_register_input_format(&tiertexseq_demuxer);
#endif
#ifdef CONFIG_PROTOCOLS #ifdef CONFIG_PROTOCOLS
/* file protocols */ /* file protocols */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment