ivi_common: dc_transform is needed for intra
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 4 Nov 2012 18:11:21 +0000 (19:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 4 Nov 2012 18:27:15 +0000 (19:27 +0100)
Fixes CID90582 CID90536
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ivi_common.c

index e261dca..fb553fd 100644 (file)
@@ -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