You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ivi_common: do not call MC for intra frames when dc_transform is unset
CC:libav-stable@libav.org
This commit is contained in:
@@ -527,7 +527,8 @@ static int 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) {
|
||||||
|
if (band->dc_transform)
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user