iRiver: re-add an end of file check, to see if it helps the reported problems with gapless MP3 playback.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8119 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2005-12-01 21:09:09 +00:00
parent 15ca09106d
commit 9758911be0

View file

@ -220,6 +220,7 @@ next_track:
if (max < 0) max = 0;
if (max < framelength) framelength = (int)max;
if (framelength == 0 && frame_skip == 0) break;
}
/* Check if sample rate and stereo settings changed in this frame. */