diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-03-24 11:40:59 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-03-24 11:40:59 +0000 |
commit | 27539aa8289ce6ee62fbd23afeb431efc1ebc503 (patch) | |
tree | 54c632b1489926199ebbc69d777c8ab0714ce955 /firmware/mpeg.c | |
parent | df4cf2edc4500db8a0f09a676a2d03bf4f47c4ff (diff) |
Fixed silly overflow in recalculate_watermark()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3494 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index e1312c7399..d191a30149 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -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; |