diff options
Diffstat (limited to 'firmware/mpeg.c')
-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) |