From 27539aa8289ce6ee62fbd23afeb431efc1ebc503 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 24 Mar 2003 11:40:59 +0000 Subject: Fixed silly overflow in recalculate_watermark() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3494 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/mpeg.c') 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; -- cgit v1.2.3