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 82d70170bc0243a75c3ee543ad5f2407c7680112..177f2df3fca61756ed38a72e73a564efed48ba5b 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)