summaryrefslogtreecommitdiff
path: root/apps/mpeg.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-07-20 15:50:26 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-07-20 15:50:26 +0000
commitc46669a230ccea798396a60f1fd78fc1156f2464 (patch)
tree8936aac1a85b8a56f7877f7002d2a1819a6ad3fb /apps/mpeg.c
parenta7548d3bc7b4cb91553a59a06490290869270437 (diff)
downloadrockbox-c46669a230ccea798396a60f1fd78fc1156f2464.tar.gz
rockbox-c46669a230ccea798396a60f1fd78fc1156f2464.zip
fix FS#10453 - the cuesheet changes broke playback on swcodec, rework it so it uses the audio buffer instead of a temp buffer from the start (which also removes one pretty big memcpy)
also remove the audio_filename from the cuesheet struct as its useless git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21982 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/mpeg.c')
-rw-r--r--apps/mpeg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/mpeg.c b/apps/mpeg.c
index e8cc03d014..e28260b6a7 100644
--- a/apps/mpeg.c
+++ b/apps/mpeg.c
@@ -2057,7 +2057,6 @@ struct mp3entry* audio_current_track()
2057 if (look_for_cuesheet_file(id3->path, cuepath) && 2057 if (look_for_cuesheet_file(id3->path, cuepath) &&
2058 parse_cuesheet(cuepath, curr_cuesheet)) 2058 parse_cuesheet(cuepath, curr_cuesheet))
2059 { 2059 {
2060 strcpy(curr_cuesheet->audio_filename, id3->path);
2061 id3->cuesheet = curr_cuesheet; 2060 id3->cuesheet = curr_cuesheet;
2062 cue_spoof_id3(curr_cuesheet, id3); 2061 cue_spoof_id3(curr_cuesheet, id3);
2063 } 2062 }