diff options
author | Ryan Jackson <rdjackso@rockbox.org> | 2005-07-12 16:45:38 +0000 |
---|---|---|
committer | Ryan Jackson <rdjackso@rockbox.org> | 2005-07-12 16:45:38 +0000 |
commit | d1917562864754fd01f735311f15e028554f30bc (patch) | |
tree | 3e2c7c91e8966e6e7a48fcdf64a771624928a86c /apps/codecs.c | |
parent | 40a8401cd35cef71b0ffa017106ee156fb3239ed (diff) |
Resume now starts playback at the point it was stopped, not 2-7 seconds later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7125 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 dd87ddf0ed..b1d30868bc 100644 --- a/apps/codecs.c +++ b/apps/codecs.c @@ -244,6 +244,7 @@ struct codec_api ci = { #endif memchr, + NULL, }; int codec_load_ram(char* codecptr, int size, void* ptr2, int bufwrap) @@ -292,7 +293,7 @@ int codec_load_file(const char *plugin) /* zero out codec buffer to ensure a properly zeroed bss area */ memset(codecbuf, 0, CODEC_SIZE); - + fd = open(plugin, O_RDONLY); if (fd < 0) { snprintf(msgbuf, sizeof(msgbuf)-1, "Couldn't load codec: %s", plugin); |