From 08bedf83051064c7dc9a7bb903ab9a34afe8d725 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 27 Apr 2011 12:52:11 +0000 Subject: 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 --- apps/codecs/atrac3_oma.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apps/codecs/atrac3_oma.c') diff --git a/apps/codecs/atrac3_oma.c b/apps/codecs/atrac3_oma.c index ab24783368..50f7c8f163 100644 --- a/apps/codecs/atrac3_oma.c +++ b/apps/codecs/atrac3_oma.c @@ -33,6 +33,14 @@ CODEC_HEADER static ATRAC3Context q IBSS_ATTR; +/* this is the codec entry point */ +enum codec_status codec_main(enum codec_entry_call_reason reason) +{ + /* Nothing to do */ + return CODEC_OK; + (void)reason; +} + /* this is called for each file to process */ enum codec_status codec_run(void) { -- cgit v1.2.3