summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
528 size_t wanted_size = (hints & BUFLIB_SHRINK_SIZE_MASK); 528 size_t wanted_size = (hints & BUFLIB_SHRINK_SIZE_MASK);
529 ssize_t size = (ssize_t)old_size - wanted_size; 529 ssize_t size = (ssize_t)old_size - wanted_size;
530 530
531#ifndef SIMULATOR 531#if !defined(SIMULATOR) && (CONFIG_CODEC == MAS3587F)
532 /* FIXME: Cannot give the buffer during recording yet */ 532 /* FIXME: Cannot give the buffer during recording yet */
533 if (is_recording) 533 if (is_recording)
534 return BUFLIB_CB_CANNOT_SHRINK; 534 return BUFLIB_CB_CANNOT_SHRINK;