[FFmpeg-cvslog] ivi_common: dc_transform is needed for intra

Michael Niedermayer git at videolan.org
Sun Nov 4 19:28:17 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Nov  4 19:11:21 2012 +0100| [5eaeb4237b88d9990671d3d97f2574dd3476928d] | committer: Michael Niedermayer

ivi_common: dc_transform is needed for intra

Fixes CID90582 CID90536
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5eaeb4237b88d9990671d3d97f2574dd3476928d
---

 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 e261dca..fb553fd 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



More information about the ffmpeg-cvslog mailing list