summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 4c55c85..420ccba 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1862,12 +1862,8 @@ static void audio_reset_buffer(void)
/* Subtract whatever the pcm buffer says it used plus the guard buffer */
const size_t pcmbuf_size = pcmbuf_init(filebuf + filebuflen) +GUARD_BUFSIZE;
-
-#ifdef DEBUG
if(pcmbuf_size > filebuflen)
- panicf("Not enough memory for pcmbuf_init() : %d > %d",
- (int)pcmbuf_size, (int)filebuflen);
-#endif
+ panicf("%s(): EOM (%d > %d)", __func__, (int)pcmbuf_size, (int)filebuflen);
filebuflen -= pcmbuf_size;