Fix compilation with --disable-muxers.
authorGianluigi Tiesi <mplayer@netfarm.it>
Wed, 5 Jul 2006 22:01:49 +0000 (22:01 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 5 Jul 2006 22:01:49 +0000 (22:01 +0000)
patch by Gianluigi Tiesi, mplayer==at==netfarm==dot==it

Originally committed as revision 5632 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/wav.c

index 8bf21ad..79a966c 100644 (file)
@@ -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;