summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2006-09-05 16:33:30 +0000
committerMagnus Holmgren <magnushol@gmail.com>2006-09-05 16:33:30 +0000
commit9eba0d7173cc8f169331966e898fe4ae24a82492 (patch)
treedb40b80defbde2f34aaa7db5d96bcc6d47bfda2e /apps
parentd770cfa65fe5cb68ff7e45e635af3dcffe282cc5 (diff)
downloadrockbox-9eba0d7173cc8f169331966e898fe4ae24a82492.tar.gz
rockbox-9eba0d7173cc8f169331966e898fe4ae24a82492.tar.bz2
rockbox-9eba0d7173cc8f169331966e898fe4ae24a82492.zip
A few minor changes to match upstream svn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10890 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/Tremor/bitwise.c4
-rw-r--r--apps/codecs/Tremor/ogg.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/Tremor/bitwise.c b/apps/codecs/Tremor/bitwise.c
index 743389b008..3e967b9d42 100644
--- a/apps/codecs/Tremor/bitwise.c
+++ b/apps/codecs/Tremor/bitwise.c
@@ -52,7 +52,7 @@ void oggpack_readinit(oggpack_buffer *b,ogg_reference *r){
long oggpack_look_full(oggpack_buffer *b,int bits) ICODE_ATTR;
long oggpack_look_full(oggpack_buffer *b,int bits){
unsigned long m=oggpack_mask[bits];
- unsigned long ret=0;
+ unsigned long ret=-1;
bits+=b->headbit;
@@ -139,7 +139,7 @@ int oggpack_eop(oggpack_buffer *b){
long oggpack_read(oggpack_buffer *b,int bits) ICODE_ATTR;
long oggpack_read(oggpack_buffer *b,int bits){
unsigned long m=oggpack_mask[bits];
- ogg_uint32_t ret=0;
+ ogg_uint32_t ret=-1;
bits+=b->headbit;
diff --git a/apps/codecs/Tremor/ogg.h b/apps/codecs/Tremor/ogg.h
index e6c78da95e..5f85eb420f 100644
--- a/apps/codecs/Tremor/ogg.h
+++ b/apps/codecs/Tremor/ogg.h
@@ -191,7 +191,7 @@ static inline long oggpack_look(oggpack_buffer *b, int bits){
if(bits+b->headbit < b->headend<<3){
extern const unsigned long oggpack_mask[];
unsigned long m=oggpack_mask[bits];
- unsigned long ret=0;
+ unsigned long ret=-1;
bits+=b->headbit;
ret=b->headptr[0]>>b->headbit;