summaryrefslogtreecommitdiff
path: root/libavformat/mmf.c
diff options
context:
space:
mode:
authorGildas Bazin <gbazi@altern.org>2006-01-19 22:30:37 +0000
committerDiego Biurrun <diego@biurrun.de>2006-01-19 22:30:37 +0000
commit6d276a9e91e5568dfbde5f48c8a465a038659a00 (patch)
treedaeb0881904d336469bbcf47a6bad0046ec6b673 /libavformat/mmf.c
parentd3ac6ed667872332efcb8c953bb45cbd125dbaab (diff)
Properly #ifdef muxer-specific parts.
Taken from a patch by Gildas Bazin < gbazin -- @@ -- altern -- . -- org > Originally committed as revision 4869 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mmf.c')
-rw-r--r--libavformat/mmf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index 8b20f32003..bf9aa91043 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -24,7 +24,6 @@ typedef struct {
offset_t data_size;
} MMFContext;
-#ifdef CONFIG_MUXERS
static int mmf_rates[] = { 4000, 8000, 11025, 22050, 44100 };
static int mmf_rate_code(int rate)
@@ -43,6 +42,7 @@ static int mmf_rate(int code)
return mmf_rates[code];
}
+#ifdef CONFIG_MUXERS
/* Copy of end_tag() from avienc.c, but for big-endian chunk size */
static void end_tag_be(ByteIOContext *pb, offset_t start)
{