diff options
author | Diego Biurrun <diego@biurrun.de> | 2005-09-23 00:25:41 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2005-09-23 00:25:41 +0000 |
commit | a9e350952992f07f4b560385185f406fbbb752d7 (patch) | |
tree | 05d33876774bc092ffee92ecabd160ae3dc2205c /libavformat/wav.c | |
parent | 288f1e6815fc52196fd1f443d305a4822bf371a2 (diff) | |
download | ffmpeg-streaming-a9e350952992f07f4b560385185f406fbbb752d7.zip ffmpeg-streaming-a9e350952992f07f4b560385185f406fbbb752d7.tar.gz |
Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.
Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r-- | libavformat/wav.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c index e566f5e..b51e2ce 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -46,7 +46,7 @@ const CodecTag codec_wav_tags[] = { { 0, 0 }, }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS /* WAVEFORMATEX header */ /* returns the size or -1 on error */ int put_wav_header(ByteIOContext *pb, AVCodecContext *enc) @@ -135,7 +135,7 @@ int put_wav_header(ByteIOContext *pb, AVCodecContext *enc) return hdrsize; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS /* We could be given one of the three possible structures here: * WAVEFORMAT, PCMWAVEFORMAT or WAVEFORMATEX. Each structure @@ -194,7 +194,7 @@ int wav_codec_get_id(unsigned int tag, int bps) return id; } -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS typedef struct { offset_t data; } WAVContext; @@ -253,7 +253,7 @@ static int wav_write_trailer(AVFormatContext *s) } return 0; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS /* return the size of the found tag */ /* XXX: > 2GB ? */ @@ -395,7 +395,7 @@ static AVInputFormat wav_iformat = { wav_read_seek, }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static AVOutputFormat wav_oformat = { "wav", "wav format", @@ -408,13 +408,13 @@ static AVOutputFormat wav_oformat = { wav_write_packet, wav_write_trailer, }; -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS int ff_wav_init(void) { av_register_input_format(&wav_iformat); -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&wav_oformat); -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS return 0; } |