diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2011-08-22 00:14:56 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2011-08-22 00:14:56 +0000 |
| commit | c3e5625a7f86f263ca894fb31e4ae3cd54f8f3d3 (patch) | |
| tree | bcb873c5f05f865f8b98bc77f21e4db8b73a4adb /apps | |
| parent | 29b5b32c33397f8b8d4cef7a3ad27f212ea2ec1a (diff) | |
| download | rockbox-c3e5625a7f86f263ca894fb31e4ae3cd54f8f3d3.zip rockbox-c3e5625a7f86f263ca894fb31e4ae3cd54f8f3d3.tar.gz rockbox-c3e5625a7f86f263ca894fb31e4ae3cd54f8f3d3.tar.bz2 rockbox-c3e5625a7f86f263ca894fb31e4ae3cd54f8f3d3.tar.xz | |
Fix FS#12234 - Simulator crashes when playing mp3 file with cuesheet. The cuesheet in a lookahead mp3entry should not be taken to be valid, since it won't be the cue for the current track. Be sure id3->cuesheet is set NULL if grabbing the info from the buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30337 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/playback.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c index 3f6ee71..a38534a 100644 --- a/apps/playback.c +++ b/apps/playback.c @@ -1183,6 +1183,7 @@ static bool audio_get_track_metadata(int offset, struct mp3entry *id3) } else if (bufreadid3(info->id3_hid, id3)) { + id3->cuesheet = NULL; return true; } |