mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
44f88585cb
commit
44554e6075
3 changed files with 16 additions and 15 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue