Revision 2a1f431d libavcodec/h264_cavlc.c

View differences:

libavcodec/h264_cavlc.c
987 987
        }
988 988

  
989 989
        if(cbp&0x30){
990
            AV_ZERO128(h->mb_chroma_dc);
990 991
            for(chroma_idx=0; chroma_idx<2; chroma_idx++)
991
                if( decode_residual(h, gb, h->mb + 256 + 16*4*chroma_idx, CHROMA_DC_BLOCK_INDEX+chroma_idx, chroma_dc_scan, NULL, 4) < 0){
992
                if( decode_residual(h, gb, h->mb_chroma_dc[chroma_idx], CHROMA_DC_BLOCK_INDEX+chroma_idx, chroma_dc_scan, NULL, 4) < 0){
992 993
                    return -1;
993 994
                }
994 995
        }

Also available in: Unified diff