[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mmf.c,1.2,1.3

Diego Biurrun CVS diego
Wed Sep 21 01:52:32 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv25555/libavformat

Modified Files:
	mmf.c 
Log Message:
Misplaced #ifdef, the MMFContext struct is needed outside CONFIG_ENCODERS.


Index: mmf.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mmf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mmf.c	17 Jul 2005 22:24:35 -0000	1.2
+++ mmf.c	20 Sep 2005 23:52:29 -0000	1.3
@@ -19,12 +19,12 @@
 #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)





More information about the ffmpeg-cvslog mailing list