Revision 2a1f431d libavcodec/svq3.c

View differences:

libavcodec/svq3.c
671 671
        }
672 672

  
673 673
        if ((cbp & 0x30)) {
674
            AV_ZERO128(h->mb_chroma_dc);
674 675
            for (i = 0; i < 2; ++i) {
675
              if (svq3_decode_block(&s->gb, &h->mb[16*(16 + 4*i)], 0, 3)){
676
                av_log(h->s.avctx, AV_LOG_ERROR, "error while decoding chroma dc block\n");
677
                return -1;
678
              }
676
                if (svq3_decode_block(&s->gb, h->mb_chroma_dc[i], 0, 3)){
677
                    av_log(h->s.avctx, AV_LOG_ERROR, "error while decoding chroma dc block\n");
678
                    return -1;
679
                }
679 680
            }
680 681

  
681 682
            if ((cbp & 0x20)) {

Also available in: Unified diff