Revision 0843ddcb libavcodec/dv.c

View differences:

libavcodec/dv.c
410 410
            if (DV_PROFILE_IS_HD(s->sys)) {
411 411
                mb->idct_put = s->idct_put[0];
412 412
                mb->scan_table = s->dv_zigzag[0];
413
                mb->factor_table = s->dv100_idct_factor[((s->sys->height == 720)<<1)&(j < 4)][class1][quant];
413
                mb->factor_table = s->dv100_idct_factor[((s->sys->height == 720)<<1)|(j >= 4)][class1][quant];
414 414
                is_field_mode[mb_index] |= !j && dct_mode;
415 415
            } else {
416 416
                mb->idct_put = s->idct_put[dct_mode && log2_blocksize==3];

Also available in: Unified diff