diff options
author | Brandon Low <lostlogic@rockbox.org> | 2007-11-14 22:34:32 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2007-11-14 22:34:32 +0000 |
commit | d1c6d539625e20c04674cfa040f84f4444a16927 (patch) | |
tree | 751af224ffe6f8cd9df17aa046f474544555dc10 /apps/playback.c | |
parent | 02467cffa03e576c51af794fb313d70661e549ce (diff) |
I'm a retard, this is definitely more correct
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15627 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/playback.c b/apps/playback.c index 62232b3a22..9d4bd908d8 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -2499,13 +2499,12 @@ 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; if (start_play) { + ci.curpos=file_offset; buf_request_buffer_handle(tracks[track_widx].audio_hid); } |