From 4bc113a93730f614e2bfee6919e6d8830efd09e3 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Tue, 20 Sep 2005 23:52:29 +0000
Subject: [PATCH] Misplaced #ifdef, the MMFContext struct is needed outside
 CONFIG_ENCODERS.

Originally committed as revision 4604 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/mmf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index 82d70170bc0..177f2df3fca 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -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)
-- 
GitLab