diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2005-06-07 06:34:54 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-06-07 06:34:54 +0000 |
| commit | 82c2927d1e8e900bee29c73f066e341cf4ec0ea5 (patch) | |
| tree | 3ae85cd77fe62d08163c28f95e677c4a54bf1288 /apps/plugins | |
| parent | 0f10e898f0040e30f0a23719e67223744c47f90d (diff) | |
| download | rockbox-82c2927d1e8e900bee29c73f066e341cf4ec0ea5.zip rockbox-82c2927d1e8e900bee29c73f066e341cf4ec0ea5.tar.gz rockbox-82c2927d1e8e900bee29c73f066e341cf4ec0ea5.tar.bz2 rockbox-82c2927d1e8e900bee29c73f066e341cf4ec0ea5.tar.xz | |
Fixed: Ogg Vorbis crashing, MP3 file seeking, USB mode and a little
faster file buffering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6591 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/codecvorbis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/codecvorbis.c b/apps/plugins/codecvorbis.c index 41db223..2fcc031 100644 --- a/apps/plugins/codecvorbis.c +++ b/apps/plugins/codecvorbis.c @@ -106,6 +106,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parm) /* This function sets up the buffers and reads the file into RAM */ + /* We need to flush reserver memory every track load. */ + next_track: if (codec_init(api, ci)) { return PLUGIN_ERROR; } @@ -118,7 +120,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parm) callbacks.tell_func=tell_handler; callbacks.close_func=close_handler; - next_track: error=ov_open_callbacks(ci,&vf,NULL,0,callbacks); vi=ov_info(&vf,-1); |