aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");
}
}