diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playback.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/playback.c b/apps/playback.c index 4c55c857bc..420ccba4b2 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -1862,12 +1862,8 @@ static void audio_reset_buffer(void) | |||
1862 | 1862 | ||
1863 | /* Subtract whatever the pcm buffer says it used plus the guard buffer */ | 1863 | /* Subtract whatever the pcm buffer says it used plus the guard buffer */ |
1864 | const size_t pcmbuf_size = pcmbuf_init(filebuf + filebuflen) +GUARD_BUFSIZE; | 1864 | const size_t pcmbuf_size = pcmbuf_init(filebuf + filebuflen) +GUARD_BUFSIZE; |
1865 | |||
1866 | #ifdef DEBUG | ||
1867 | if(pcmbuf_size > filebuflen) | 1865 | if(pcmbuf_size > filebuflen) |
1868 | panicf("Not enough memory for pcmbuf_init() : %d > %d", | 1866 | panicf("%s(): EOM (%d > %d)", __func__, (int)pcmbuf_size, (int)filebuflen); |
1869 | (int)pcmbuf_size, (int)filebuflen); | ||
1870 | #endif | ||
1871 | 1867 | ||
1872 | filebuflen -= pcmbuf_size; | 1868 | filebuflen -= pcmbuf_size; |
1873 | 1869 | ||