summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 8bf21ad716..79a966c9cd 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -201,12 +201,12 @@ int wav_codec_get_id(unsigned int tag, int bps)
return id;
}
-#ifdef CONFIG_MUXERS
typedef struct {
offset_t data;
offset_t data_end;
} WAVContext;
+#ifdef CONFIG_MUXERS
static int wav_write_header(AVFormatContext *s)
{
WAVContext *wav = s->priv_data;