diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-23 09:51:26 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-23 09:51:26 +0000 |
| commit | 44554e60756288e99bf664ea87f86dc482006eff (patch) | |
| tree | d51b47610bf3c5b58b4a548af8fed1b2728cbb27 /apps/codecs.c | |
| parent | 44f88585cb79a6decae347954e4a5d80e33a001e (diff) | |
| download | rockbox-44554e60756288e99bf664ea87f86dc482006eff.zip rockbox-44554e60756288e99bf664ea87f86dc482006eff.tar.gz rockbox-44554e60756288e99bf664ea87f86dc482006eff.tar.bz2 rockbox-44554e60756288e99bf664ea87f86dc482006eff.tar.xz | |
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
Diffstat (limited to 'apps/codecs.c')
| -rw-r--r-- | apps/codecs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index 2c547ff..cddebb6 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -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); |