aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-09-20 23:52:29 +0000
committerDiego Biurrun <diego@biurrun.de>2005-09-20 23:52:29 +0000
commit4bc113a93730f614e2bfee6919e6d8830efd09e3 (patch)
tree13acd4d5b489da94fa199bc1c7bb42a42ed3a086
parent8f196b14f57127c32a0c865997855360bad38305 (diff)
downloadffmpeg-4bc113a93730f614e2bfee6919e6d8830efd09e3.tar.gz
Misplaced #ifdef, the MMFContext struct is needed outside CONFIG_ENCODERS.
Originally committed as revision 4604 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mmf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index 82d70170bc..177f2df3fc 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)