diff options
Diffstat (limited to 'firmware')
-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 85041148f0..3507d2b2f4 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -1482,6 +1482,9 @@ static void mpeg_thread(void) | |||
1482 | #if MEM == 8 | 1482 | #if MEM == 8 |
1483 | amount_to_read = MIN(0x100000, amount_to_read); | 1483 | amount_to_read = MIN(0x100000, amount_to_read); |
1484 | #endif /* #if MEM == 8 */ | 1484 | #endif /* #if MEM == 8 */ |
1485 | #ifdef HAVE_MMC /* MMC is slow, so don't read too large chunks */ | ||
1486 | amount_to_read = MIN(0x40000, amount_to_read); | ||
1487 | #endif | ||
1485 | 1488 | ||
1486 | /* Read as much mpeg data as we can fit in the buffer */ | 1489 | /* Read as much mpeg data as we can fit in the buffer */ |
1487 | if(mpeg_file >= 0) | 1490 | if(mpeg_file >= 0) |