aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/vorbis_plugin.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-04-02 16:07:52 -0700
committerAvuton Olrich <avuton@gmail.com>2009-04-02 16:07:52 -0700
commitd38f72b902c205e551a92f32fd1c5a284b46a1e4 (patch)
tree0a6f26cccc94d7b3657debac0e15e6fadbf0ae76 /src/decoder/vorbis_plugin.c
parentfd90db35b7a084b10f4c6d347c5ba6e315bb3f5d (diff)
downloadmpd-d38f72b902c205e551a92f32fd1c5a284b46a1e4.tar.gz
mpd-d38f72b902c205e551a92f32fd1c5a284b46a1e4.tar.xz
mpd-d38f72b902c205e551a92f32fd1c5a284b46a1e4.zip
vorbis: move #define out of function to top of sources
Diffstat (limited to 'src/decoder/vorbis_plugin.c')
-rw-r--r--src/decoder/vorbis_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c
index 60162f1d9..d4f81e91f 100644
--- a/src/decoder/vorbis_plugin.c
+++ b/src/decoder/vorbis_plugin.c
@@ -47,6 +47,7 @@
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "vorbis"
+#define OGG_CHUNK_SIZE 4096
#if G_BYTE_ORDER == G_BIG_ENDIAN
#define OGG_DECODE_USE_BIGENDIAN 1
@@ -246,7 +247,6 @@ vorbis_stream_decode(struct decoder *decoder,
int current_section;
int prev_section = -1;
long ret;
-#define OGG_CHUNK_SIZE 4096
char chunk[OGG_CHUNK_SIZE];
long bitRate = 0;
long test;