summaryrefslogtreecommitdiff
path: root/libavformat/wav.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r--libavformat/wav.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index e566f5ee6b..b51e2ce004 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;
}