vorbis: move #define out of function to top of sources
This commit is contained in:
parent
fd90db35b7
commit
d38f72b902
@ -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,
|
|||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user