diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/avi_decoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp index 72892534fb..700975d9a2 100644 --- a/video/avi_decoder.cpp +++ b/video/avi_decoder.cpp @@ -831,12 +831,12 @@ bool AVIDecoder::AVIVideoTrack::hasDirtyPalette() const { } bool AVIDecoder::AVIVideoTrack::canDither() const { - return _videoCodec && _videoCodec->canDither(); + return _videoCodec && _videoCodec->canDither(Image::Codec::kDitherTypeVFW); } void AVIDecoder::AVIVideoTrack::setDither(const byte *palette) { assert(_videoCodec); - _videoCodec->setDither(palette); + _videoCodec->setDither(Image::Codec::kDitherTypeVFW, palette); } AVIDecoder::AVIAudioTrack::AVIAudioTrack(const AVIStreamHeader &streamHeader, const PCMWaveFormat &waveFormat, Audio::Mixer::SoundType soundType) |