aboutsummaryrefslogtreecommitdiff
path: root/video/theora_decoder.cpp
diff options
context:
space:
mode:
authorFedor Strizhnev2015-01-05 16:53:35 +0300
committerFedor Strizhnev2015-01-05 16:53:35 +0300
commit7225101e6257d0574fb94be8a6016a3b67a09855 (patch)
treee8df3a9fac8ce3dda256a7b029941cf1b75b23d6 /video/theora_decoder.cpp
parente27f5f69882345e45d6b2f1c8b449ea622d7d464 (diff)
downloadscummvm-rg350-7225101e6257d0574fb94be8a6016a3b67a09855.tar.gz
scummvm-rg350-7225101e6257d0574fb94be8a6016a3b67a09855.tar.bz2
scummvm-rg350-7225101e6257d0574fb94be8a6016a3b67a09855.zip
Add Theora support to systems which use libtremor
Diffstat (limited to 'video/theora_decoder.cpp')
-rw-r--r--video/theora_decoder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/theora_decoder.cpp b/video/theora_decoder.cpp
index cb6289bd60..ba596c6032 100644
--- a/video/theora_decoder.cpp
+++ b/video/theora_decoder.cpp
@@ -360,7 +360,11 @@ static double rint(double v) {
}
bool TheoraDecoder::VorbisAudioTrack::decodeSamples() {
+#ifdef USE_TREMOR
+ ogg_int32_t **pcm;
+#else
float **pcm;
+#endif
// if there's pending, decoded audio, grab it
int ret = vorbis_synthesis_pcmout(&_vorbisDSP, &pcm);