# HG changeset patch # User diego # Date 1127260349 0 # Node ID acad29abfb70717721a979a7269525ccd7688980 # Parent 379c4e948363f2fc3e2644b135238615009ca352 Misplaced #ifdef, the MMFContext struct is needed outside CONFIG_ENCODERS. diff -r 379c4e948363 -r acad29abfb70 mmf.c --- 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)