diff options
author | Nicolas Bacca | 2002-04-22 19:29:22 +0000 |
---|---|---|
committer | Nicolas Bacca | 2002-04-22 19:29:22 +0000 |
commit | 9bd56e63acd73a19a7ce52c657d772266203d5f6 (patch) | |
tree | 2c60a51839e1289e9bc50ac40faefcea8d89d10f /sound.cpp | |
parent | aecbd8d8d2ae3ba44f5eac3f898c9281cd61acae (diff) | |
download | scummvm-rg350-9bd56e63acd73a19a7ce52c657d772266203d5f6.tar.gz scummvm-rg350-9bd56e63acd73a19a7ce52c657d772266203d5f6.tar.bz2 scummvm-rg350-9bd56e63acd73a19a7ce52c657d772266203d5f6.zip |
Removed fstat - not needed and not implemented on WinCE
svn-id: r4056
Diffstat (limited to 'sound.cpp')
-rw-r--r-- | sound.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -737,9 +737,7 @@ void Scumm::playMP3CDTrack(int track, int num_loops, int start, int delay) { // Calc delay if (!delay) { - struct stat file_stat; - fstat(fileno(_mp3_tracks[index]),&file_stat); - mad_timer_set(&duration, 0,file_stat.st_size, (_mad_header[index].bitrate/8)); + mad_timer_set(&duration, 0, _mp3_size[index], (_mad_header[index].bitrate/8)); } else { mad_timer_set(&duration, 0, delay, 75); } |