1
0
Fork 0
forked from len0rd/rockbox

Might fix FS#8158, I was unable to reproduce so no guarantee.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15626 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Brandon Low 2007-11-14 22:29:26 +00:00
parent 83e190bcef
commit 02467cffa0

View file

@ -2457,7 +2457,6 @@ static bool audio_load_track(int offset, bool start_play)
file_offset = offset;
track_id3->offset = offset;
audio_set_elapsed(track_id3);
ci.curpos = offset;
}
break;
@ -2466,7 +2465,6 @@ static bool audio_load_track(int offset, bool start_play)
file_offset = offset;
track_id3->offset = offset;
track_id3->elapsed = track_id3->length / 2;
ci.curpos = offset;
}
break;
@ -2501,6 +2499,8 @@ static bool audio_load_track(int offset, bool start_play)
tracks[track_widx].audio_hid = bufopen(trackname, file_offset, type);
ci.curpos=file_offset;
if (tracks[track_widx].audio_hid < 0)
return false;