From 7225101e6257d0574fb94be8a6016a3b67a09855 Mon Sep 17 00:00:00 2001 From: Fedor Strizhnev Date: Mon, 5 Jan 2015 16:53:35 +0300 Subject: Add Theora support to systems which use libtremor --- video/theora_decoder.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video/theora_decoder.cpp') 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); -- cgit v1.2.3