Commit d38f72b9 authored by Avuton Olrich's avatar Avuton Olrich

vorbis: move #define out of function to top of sources

parent fd90db35
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#undef G_LOG_DOMAIN #undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "vorbis" #define G_LOG_DOMAIN "vorbis"
#define OGG_CHUNK_SIZE 4096
#if G_BYTE_ORDER == G_BIG_ENDIAN #if G_BYTE_ORDER == G_BIG_ENDIAN
#define OGG_DECODE_USE_BIGENDIAN 1 #define OGG_DECODE_USE_BIGENDIAN 1
...@@ -246,7 +247,6 @@ vorbis_stream_decode(struct decoder *decoder, ...@@ -246,7 +247,6 @@ vorbis_stream_decode(struct decoder *decoder,
int current_section; int current_section;
int prev_section = -1; int prev_section = -1;
long ret; long ret;
#define OGG_CHUNK_SIZE 4096
char chunk[OGG_CHUNK_SIZE]; char chunk[OGG_CHUNK_SIZE];
long bitRate = 0; long bitRate = 0;
long test; long test;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment