aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/video/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/video/video.cpp')
-rw-r--r--engines/zvision/video/video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/video/video.cpp b/engines/zvision/video/video.cpp
index 0c19c92574..01e75a4a3d 100644
--- a/engines/zvision/video/video.cpp
+++ b/engines/zvision/video/video.cpp
@@ -23,7 +23,7 @@
#include "common/scummsys.h"
#include "common/system.h"
#include "video/video_decoder.h"
-#ifdef USE_MPEG2
+#if defined(USE_MPEG2) && defined(USE_A52)
#include "video/mpegps_decoder.h"
#endif
#include "engines/util.h"
@@ -48,7 +48,7 @@ Video::VideoDecoder *ZVision::loadAnimation(const Common::String &fileName) {
animation = new RLFDecoder();
else if (tmpFileName.hasSuffix(".avi"))
animation = new ZorkAVIDecoder();
-#ifdef USE_MPEG2
+#if defined(USE_MPEG2) && defined(USE_A52)
else if (tmpFileName.hasSuffix(".vob"))
animation = new Video::MPEGPSDecoder();
#endif