diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 12:52:11 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 12:52:11 +0000 |
commit | 08bedf83051064c7dc9a7bb903ab9a34afe8d725 (patch) | |
tree | ac8606643c781d350b27b6a948579c9e718f8323 /apps/codecs/asap.c | |
parent | 1a68986bc5d13db4508797700dff99638dccc88c (diff) | |
download | rockbox-08bedf83051064c7dc9a7bb903ab9a34afe8d725.tar.gz rockbox-08bedf83051064c7dc9a7bb903ab9a34afe8d725.zip |
Having a default weak codec_main symbol doesn't seem to be working out for compiling the sim under cygwin in at least some cases. Just implement it explicitly in all cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29789 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/asap.c')
-rw-r--r-- | apps/codecs/asap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/codecs/asap.c b/apps/codecs/asap.c index f12dc6a0c5..5d098eda15 100644 --- a/apps/codecs/asap.c +++ b/apps/codecs/asap.c | |||
@@ -29,6 +29,14 @@ CODEC_HEADER | |||
29 | static byte samples[CHUNK_SIZE] IBSS_ATTR; /* The sample buffer */ | 29 | static byte samples[CHUNK_SIZE] IBSS_ATTR; /* The sample buffer */ |
30 | static ASAP_State asap; /* asap codec state */ | 30 | static ASAP_State asap; /* asap codec state */ |
31 | 31 | ||
32 | /* this is the codec entry point */ | ||
33 | enum codec_status codec_main(enum codec_entry_call_reason reason) | ||
34 | { | ||
35 | /* Nothing to do */ | ||
36 | return CODEC_OK; | ||
37 | (void)reason; | ||
38 | } | ||
39 | |||
32 | /* this is called for each file to process */ | 40 | /* this is called for each file to process */ |
33 | enum codec_status codec_run(void) | 41 | enum codec_status codec_run(void) |
34 | { | 42 | { |