From b8749fdf219ffcfc17b7781217f388953268af49 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 18 Jan 2006 00:05:14 +0000 Subject: New codec loader, using the same mechanism as the new plugin loader. API version numbering restarted for the new system. Uses the target ID from configure, so don't change that too often. * Fixed sim_plugin_load_ram() to truncate the tempfile. * Reduced plugin buffer size to 512KB for iriver and iPod. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8362 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/mpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs/mpc.c') diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index 207a63c..1d1ed3a 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c @@ -20,6 +20,8 @@ #include "codeclib.h" #include +CODEC_HEADER + mpc_decoder decoder; /* Our implementations of the mpc_reader callback functions. */ @@ -82,7 +84,6 @@ enum codec_status codec_start(struct codec_api *api) mpc_reader reader; mpc_streaminfo info; - TEST_CODEC_API(api); #ifdef USE_IRAM ci->memcpy(iramstart, iramcopy, iramend - iramstart); ci->memset(iedata, 0, iend - iedata); -- cgit v1.1