From 5eaeb4237b88d9990671d3d97f2574dd3476928d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 4 Nov 2012 19:11:21 +0100 Subject: [PATCH] ivi_common: dc_transform is needed for intra Fixes CID90582 CID90536 Signed-off-by: Michael Niedermayer --- libavcodec/ivi_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c index e261dca418..fb553fd819 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -478,7 +478,7 @@ int ff_ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile) /* block not coded */ /* for intra blocks apply the dc slant transform */ /* 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->pitch, blk_size); } else