Commit 5eaeb423 authored by Michael Niedermayer's avatar Michael Niedermayer

ivi_common: dc_transform is needed for intra

Fixes CID90582 CID90536
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 712287ef
...@@ -478,7 +478,7 @@ int ff_ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile) ...@@ -478,7 +478,7 @@ int ff_ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile)
/* block not coded */ /* block not coded */
/* for intra blocks apply the dc slant transform */ /* for intra blocks apply the dc slant transform */
/* for inter - perform the motion compensation without delta */ /* for inter - perform the motion compensation without delta */
if (is_intra && band->dc_transform) { if (is_intra) {
band->dc_transform(&prev_dc, band->buf + buf_offs, band->dc_transform(&prev_dc, band->buf + buf_offs,
band->pitch, blk_size); band->pitch, blk_size);
} else } else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment