diff options
Diffstat (limited to 'video/coktel_decoder.cpp')
-rw-r--r-- | video/coktel_decoder.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/video/coktel_decoder.cpp b/video/coktel_decoder.cpp index 024e479bf7..21dda15cd0 100644 --- a/video/coktel_decoder.cpp +++ b/video/coktel_decoder.cpp @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. @@ -31,8 +31,7 @@ #include "video/coktel_decoder.h" -#include "video/codecs/codec.h" -#include "video/codecs/indeo3.h" +#include "image/codecs/indeo3.h" #ifdef VIDEO_COKTELDECODER_H @@ -1692,7 +1691,7 @@ bool VMDDecoder::openExternalCodec() { if (_videoCodec == kVideoCodecIndeo3) { _isPaletted = false; - _codec = new Indeo3Decoder(_width, _height); + _codec = new Image::Indeo3Decoder(_width, _height); } else { warning("VMDDecoder::openExternalCodec(): Unknown video codec FourCC \"%s\"", @@ -2263,7 +2262,7 @@ bool VMDDecoder::renderFrame(Common::Rect &rect) { return false; Common::MemoryReadStream frameStream(_videoBuffer[0], _videoBufferLen[0]); - const Graphics::Surface *codecSurf = _codec->decodeImage(&frameStream); + const Graphics::Surface *codecSurf = _codec->decodeFrame(frameStream); if (!codecSurf) return false; |