diff options
| author | Magnus Holmgren <magnushol@gmail.com> | 2005-12-01 21:09:09 +0000 |
|---|---|---|
| committer | Magnus Holmgren <magnushol@gmail.com> | 2005-12-01 21:09:09 +0000 |
| commit | 9758911be0c63de3dc5e42e9720f933effe5ad87 (patch) | |
| tree | 182921024f33276f0b362655e50c319e3be00a91 /apps/codecs | |
| parent | 15ca09106da0fc332ce7b9d999c69be573bf6f5b (diff) | |
| download | rockbox-9758911be0c63de3dc5e42e9720f933effe5ad87.zip rockbox-9758911be0c63de3dc5e42e9720f933effe5ad87.tar.gz rockbox-9758911be0c63de3dc5e42e9720f933effe5ad87.tar.bz2 rockbox-9758911be0c63de3dc5e42e9720f933effe5ad87.tar.xz | |
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
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/mpa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 0f57592..281a7ab 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -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. */ |