summaryrefslogtreecommitdiff
path: root/apps/codecs/mpc.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-04-25 20:39:31 +0000
committerThom Johansen <thomj@rockbox.org>2006-04-25 20:39:31 +0000
commit5398f720f010ab15504f85ffb4e82c2d43e3ed36 (patch)
tree1136c7fde1c79073b95b45040c8cfcbc4560c071 /apps/codecs/mpc.c
parent75de60b9e86d69458ab376a6c140443c5b6dff64 (diff)
The last frame of Musepack files can contain double the amount of samples as in ordinary frames, so let's double our buffer size to accomodate...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9808 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/mpc.c')
-rw-r--r--apps/codecs/mpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c
index d55ec597fc..6629801a56 100644
--- a/apps/codecs/mpc.c
+++ b/apps/codecs/mpc.c
@@ -63,8 +63,7 @@ mpc_bool_t canseek_impl(void *data)
return true;
}
-/* temporary, we probably have better use for iram than this */
-MPC_SAMPLE_FORMAT sample_buffer[MPC_FRAME_LENGTH*2] IBSS_ATTR;
+MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH] IBSS_ATTR;
#ifdef USE_IRAM
extern char iramcopy[];