ivi_common: dc_transform is needed for intra
Fixes CID90582 CID90536 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
712287ef45
commit
5eaeb4237b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user