diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2006-09-23 14:38:04 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2006-09-23 14:38:04 +0000 |
commit | 13f3c5b2cbef027356cd61a149a632df7760240e (patch) | |
tree | c13c3fc5b7f3002542cca84834b66e0f1b214690 /apps | |
parent | 5dc08bbfb28853a374c7d9ff57a3070324a6cd5c (diff) |
Fix profiling builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11034 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/wavpack_enc.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/codecs/wavpack_enc.c b/apps/codecs/wavpack_enc.c index cde208739f..eced7f1f4e 100644 --- a/apps/codecs/wavpack_enc.c +++ b/apps/codecs/wavpack_enc.c @@ -43,16 +43,6 @@ static int enc_channels; static long input_buffer[CHUNK_SIZE/2] IBSS_ATTR; -void *memset(void *s, int c, size_t n) -{ - return(ci->memset(s,c,n)); -} - -void *memcpy(void *dest, const void *src, size_t n) -{ - return(ci->memcpy(dest,src,n)); -} - /* update file header info callback function */ void enc_set_header(void *head_buffer, /* ptr to the file header data */ int head_size, /* size of this header data */ @@ -112,6 +102,8 @@ enum codec_status codec_start(struct codec_api* api) bool cpu_boosted = true; /* start boosted */ ci = api; // copy to global api pointer + + codec_init(ci); if(ci->enc_get_inputs == NULL || ci->enc_set_parameters == NULL || |