Browse Source

fixing a bug that prevented proper unweighting table to be selected

Originally committed as revision 15579 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Roman Shaposhnik 16 years ago
parent
commit
0843ddcb91
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dv.c

+ 1
- 1
libavcodec/dv.c View File

@@ -410,7 +410,7 @@ static inline void dv_decode_video_segment(DVVideoContext *s,
if (DV_PROFILE_IS_HD(s->sys)) {
mb->idct_put = s->idct_put[0];
mb->scan_table = s->dv_zigzag[0];
mb->factor_table = s->dv100_idct_factor[((s->sys->height == 720)<<1)&(j < 4)][class1][quant];
mb->factor_table = s->dv100_idct_factor[((s->sys->height == 720)<<1)|(j >= 4)][class1][quant];
is_field_mode[mb_index] |= !j && dct_mode;
} else {
mb->idct_put = s->idct_put[dct_mode && log2_blocksize==3];


Loading…
Cancel
Save