changeset 856:acad29abfb70 libavformat

Misplaced #ifdef, the MMFContext struct is needed outside CONFIG_ENCODERS.
author diego
date Tue, 20 Sep 2005 23:52:29 +0000
parents 379c4e948363
children 26aaf3eed638
files mmf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mmf.c	Sun Sep 18 14:45:17 2005 +0000
+++ b/mmf.c	Tue Sep 20 23:52:29 2005 +0000
@@ -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)