forked from len0rd/rockbox
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
This commit is contained in:
parent
0f10e898f0
commit
82c2927d1e
4 changed files with 110 additions and 22 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue