diff options
Diffstat (limited to 'Tremolo')
-rw-r--r-- | Tremolo/codebook.c | 2 | ||||
-rw-r--r-- | Tremolo/vorbisfile.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Tremolo/codebook.c b/Tremolo/codebook.c index 5f46594..0a9c104 100644 --- a/Tremolo/codebook.c +++ b/Tremolo/codebook.c @@ -679,7 +679,7 @@ static inline ogg_uint32_t decode_packed_entry_number(codebook *book, } case 4: { - Output("32/32"); + //Output("32/32"); for(i=0;i<read;i++){ chase=((ogg_uint32_t *)(book->dec_table))[chase*2+((lok>>i)&1)]; if(chase&0x80000000UL)break; diff --git a/Tremolo/vorbisfile.c b/Tremolo/vorbisfile.c index 7b6ce47..7ed3012 100644 --- a/Tremolo/vorbisfile.c +++ b/Tremolo/vorbisfile.c @@ -18,7 +18,7 @@ #include <stdlib.h> #include <stdio.h> -//#include <errno.h> +//#include <gerrno.h> #include <string.h> #include <math.h> @@ -28,7 +28,7 @@ #include "os.h" #include "misc.h" -int errno; +int gerrno; #define NOTOPEN 0 #define PARTOPEN 1 @@ -69,12 +69,12 @@ int errno; /* read a little more data from the file/pipe into the ogg_sync framer */ static long _get_data(OggVorbis_File *vf){ - errno=0; + gerrno=0; if(vf->datasource){ unsigned char *buffer=ogg_sync_bufferin(vf->oy,CHUNKSIZE); long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource); if(bytes>0)ogg_sync_wrote(vf->oy,bytes); - if(bytes==0 && errno)return -1; + if(bytes==0 && gerrno)return -1; return bytes; }else return 0; |