aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-08-06 12:11:10 +0000
committerMax Horn2003-08-06 12:11:10 +0000
commit002f5262e388b9843abef09dcf2ac19c420099e0 (patch)
tree0310fd75ff45cd25728289bb283d2f79a4bec448 /scumm
parent3e0cd37cea291a06b510228b4c26cf40db80140f (diff)
downloadscummvm-rg350-002f5262e388b9843abef09dcf2ac19c420099e0.tar.gz
scummvm-rg350-002f5262e388b9843abef09dcf2ac19c420099e0.tar.bz2
scummvm-rg350-002f5262e388b9843abef09dcf2ac19c420099e0.zip
remove obsolete warning for non-22050 Vorbis files
svn-id: r9555
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index bd88ed261e..2fc5816144 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1873,14 +1873,9 @@ VorbisTrackInfo::VorbisTrackInfo(File *file) {
_error_flag = true;
delete f;
delete file;
- }
- else {
+ } else {
_error_flag = false;
_file = file;
-
- // Check the file format
- if (ov_info(&_ov_file, -1)->rate != 22050)
- warning("Vorbis code currently only supports files encoded at 22050 Hz");
}
}