Fix #11897 - Multiple 'divide by zero' while playing particular APE on Clip+. Problem...
commit4b3b5d5c296fb8b572468b3d1b12377ba6779308
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Feb 2011 09:59:36 +0000 (5 09:59 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Feb 2011 09:59:36 +0000 (5 09:59 +0000)
tree02d3fa32c1dfc0267b4262c8c9b16e948daaf981
parentee88235b406b3058a6fe41fd19f2a160132867d5
Fix #11897 - Multiple 'divide by zero' while playing particular APE on Clip+. Problem and solution observed and checked on Gigabeat S by myself. Fix submitted by Mikhail Titov resolves it. range_decode_short was declared as returing 'int short' rather than 'unsigned short' resulting in unwanted sign extension.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29208 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/demac/libdemac/entropy.c
docs/CREDITS