diff options
| author | Tomasz Malesinski <tomal@rockbox.org> | 2006-06-21 19:14:18 +0000 |
|---|---|---|
| committer | Tomasz Malesinski <tomal@rockbox.org> | 2006-06-21 19:14:18 +0000 |
| commit | 3f7602b0e8fa10de8fd845f672339406a7405ced (patch) | |
| tree | 49a6ea04ed95bc0f1a021ab1431ccf9534c5f44f /apps | |
| parent | 21ac8f7346f967085047064891887788db91b33a (diff) | |
| download | rockbox-3f7602b0e8fa10de8fd845f672339406a7405ced.zip rockbox-3f7602b0e8fa10de8fd845f672339406a7405ced.tar.gz rockbox-3f7602b0e8fa10de8fd845f672339406a7405ced.tar.bz2 rockbox-3f7602b0e8fa10de8fd845f672339406a7405ced.tar.xz | |
Added discard_codec to simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/codecs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs.c b/apps/codecs.c index 9a0688b..c0b4aad 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -248,6 +248,8 @@ int codec_load_ram(char* codecptr, int size, void* ptr2, int bufwrap, void *pd; hdr = sim_codec_load_ram(codecptr, size, ptr2, bufwrap, &pd); + api->discard_codec(); + if (pd == NULL) return CODEC_ERROR; |