1
0
Fork 0
forked from len0rd/rockbox

initialize the codecs API in the codec loader, using the same method as used in the plugin loader

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19824 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andrew Mahone 2009-01-23 09:51:26 +00:00
parent 44f88585cb
commit 44554e6075
3 changed files with 16 additions and 15 deletions

View file

@ -229,8 +229,9 @@ static int codec_load_ram(int size, struct codec_api *api)
return CODEC_ERROR;
}
*(hdr->api) = api;
invalidate_icache();
status = hdr->entry_point(api);
status = hdr->entry_point();
sim_codec_close(pd);