Misplaced #ifdef, the MMFContext struct is needed outside CONFIG_ENCODERS.
authorDiego Biurrun <diego@biurrun.de>
Tue, 20 Sep 2005 23:52:29 +0000 (23:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 20 Sep 2005 23:52:29 +0000 (23:52 +0000)
Originally committed as revision 4604 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mmf.c

index 82d7017..177f2df 100644 (file)
 #include "avformat.h"
 #include "avi.h"
 
-#ifdef CONFIG_ENCODERS
 typedef struct {
     offset_t atrpos, atsqpos, awapos;
     offset_t data_size;
 } MMFContext;
 
+#ifdef CONFIG_ENCODERS
 static int mmf_rates[] = { 4000, 8000, 11025, 22050, 44100 };
 
 static int mmf_rate_code(int rate)