forked from len0rd/rockbox
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
This commit is contained in:
parent
1a68986bc5
commit
08bedf8305
6 changed files with 40 additions and 10 deletions
|
@ -33,16 +33,6 @@ unsigned char* mp3buf; // The actual MP3 buffer from Rockbox
|
|||
unsigned char* mallocbuf; // 512K from the start of MP3 buffer
|
||||
unsigned char* filebuf; // The rest of the MP3 buffer
|
||||
|
||||
/* this is the default codec entry point for when nothing needs to be done
|
||||
on load or unload */
|
||||
enum codec_status __attribute__((weak))
|
||||
codec_main(enum codec_entry_call_reason reason)
|
||||
{
|
||||
/* Nothing to do */
|
||||
return CODEC_OK;
|
||||
(void)reason;
|
||||
}
|
||||
|
||||
int codec_init(void)
|
||||
{
|
||||
mem_ptr = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue