summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-04 19:11:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-04 19:27:15 +0100
commit5eaeb4237b88d9990671d3d97f2574dd3476928d (patch)
treea979b6caf480a78b32d2f7ab2cebf2fd4202d750 /libavcodec
parent712287ef457767000fdbf62c1d4e105c2d77e5a8 (diff)
ivi_common: dc_transform is needed for intra
Fixes CID90582 CID90536 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ivi_common.c2
1 files changed, 1 insertions, 1 deletions
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