mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 23:22:34 -05:00
FS#8882: Fix the bug where skipping backwards with Ogg files could result in a skip forward (FS#8508). The problem was introduced by a one-line change in r16025, so we revert it. At the time I thought that line had become useless but obviously I was wrong. Thanks to Greg Erwin for finding the fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17107 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dada3242d5
commit
3c9625969b
1 changed files with 5 additions and 0 deletions
|
|
@ -1211,6 +1211,11 @@ static bool codec_request_next_track_callback(void)
|
||||||
if (!codec_load_next_track())
|
if (!codec_load_next_track())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
/* Seek to the beginning of the new track because if the struct
|
||||||
|
mp3entry was buffered, "elapsed" might not be zero (if the track has
|
||||||
|
been played already but not unbuffered) */
|
||||||
|
codec_seek_buffer_callback(curtrack_id3.first_frame_offset);
|
||||||
|
|
||||||
/* Check if the next codec is the same file. */
|
/* Check if the next codec is the same file. */
|
||||||
if (prev_codectype == get_codec_base_type(curtrack_id3.codectype))
|
if (prev_codectype == get_codec_base_type(curtrack_id3.codectype))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue