forked from len0rd/rockbox
Fixed silly overflow in recalculate_watermark()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3494 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
df4cf2edc4
commit
27539aa828
1 changed files with 1 additions and 1 deletions
|
|
@ -509,7 +509,7 @@ static void recalculate_watermark(int bitrate)
|
|||
/* A bitrate of 0 probably means empty VBR header. We play safe
|
||||
and set a high threshold */
|
||||
if(bitrate == 0)
|
||||
bitrate = 320000;
|
||||
bitrate = 320;
|
||||
|
||||
bytes_per_sec = bitrate * 1000 / 8;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue