Revision 2a2072fe libavcodec/vc1.c

View differences:

libavcodec/vc1.c
2962 2962
        if(ttblk == TT_8X4_TOP || ttblk == TT_8X4_BOTTOM) ttblk = TT_8X4;
2963 2963
        if(ttblk == TT_4X8_RIGHT || ttblk == TT_4X8_LEFT) ttblk = TT_4X8;
2964 2964
    }
2965
    scale = 2 * mquant + v->halfpq;
2965
    scale = 2 * mquant + ((v->pq == mquant) ? v->halfpq : 0);
2966 2966

  
2967 2967
    // convert transforms like 8X4_TOP to generic TT and SUBBLKPAT
2968 2968
    if(ttblk == TT_8X4_TOP || ttblk == TT_8X4_BOTTOM) {

Also available in: Unified diff