diff options
author | Uwe Freese <thebreaker@rockbox.org> | 2003-03-03 14:05:47 +0000 |
---|---|---|
committer | Uwe Freese <thebreaker@rockbox.org> | 2003-03-03 14:05:47 +0000 |
commit | 21130ebc29053b3f8e8ac43ed1b8b29cb756a0e2 (patch) | |
tree | 752f6f4dcdd16de5e11272e214f63f841871ed16 | |
parent | e193604c9bce6fd13564decb22f1bbea33cae917 (diff) | |
download | rockbox-21130ebc29053b3f8e8ac43ed1b8b29cb756a0e2.tar.gz rockbox-21130ebc29053b3f8e8ac43ed1b8b29cb756a0e2.zip |
Found the only one point that led to imcompatibility of the CVS code with a 8MB AJB. Finally, CVS is 8 MB-mod compliant. :-)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3374 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/mpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 87ffe8559b..9470e7d84b 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -1696,6 +1696,9 @@ static void mpeg_thread(void) | |||
1696 | 1696 | ||
1697 | /* Don't read more than until the end of the buffer */ | 1697 | /* Don't read more than until the end of the buffer */ |
1698 | amount_to_read = MIN(mp3buflen - mp3buf_write, amount_to_read); | 1698 | amount_to_read = MIN(mp3buflen - mp3buf_write, amount_to_read); |
1699 | #if MEM == 8 | ||
1700 | amount_to_read = MIN(0x100000, amount_to_read); | ||
1701 | #endif | ||
1699 | 1702 | ||
1700 | /* Read as much mpeg data as we can fit in the buffer */ | 1703 | /* Read as much mpeg data as we can fit in the buffer */ |
1701 | if(mpeg_file >= 0) | 1704 | if(mpeg_file >= 0) |