summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2013-12-23 13:02:59 +0100
committerThomas Martitz <kugel@rockbox.org>2013-12-23 13:02:59 +0100
commit10d71bb910d96aae5d0ac2e868c961d6b104c1bd (patch)
treedab7a3705f02dbafbdb8dbbfedd4a4aacb121f3f
parenta4d1849e24da898dfd6ffefa3aba0961475041d0 (diff)
downloadrockbox-10d71bb.tar.gz
rockbox-10d71bb.zip
Fix more reds.
Change-Id: I13e9a0398efe0dab222f2a9c4f5d9295570e4dfd
-rw-r--r--apps/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c
index 1400b6db71..08e8e4cf51 100644
--- a/apps/mpeg.c
+++ b/apps/mpeg.c
@@ -528,7 +528,7 @@ static int shrink_callback(int handle, unsigned hints, void* start, size_t old_s
size_t wanted_size = (hints & BUFLIB_SHRINK_SIZE_MASK);
ssize_t size = (ssize_t)old_size - wanted_size;
-#ifndef SIMULATOR
+#if !defined(SIMULATOR) && (CONFIG_CODEC == MAS3587F)
/* FIXME: Cannot give the buffer during recording yet */
if (is_recording)
return BUFLIB_CB_CANNOT_SHRINK;