diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2008-10-07 15:51:29 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2008-10-07 15:51:29 +0000 |
commit | 0843ddcb91cfd11eeeebbd62cfc4bcd340c1e87d (patch) | |
tree | 84e6731e3650dc99f8aa28a28c65eefdfae529ee /libavcodec/dv.c | |
parent | 2b6cee9f1e3741356462d25b2ac7221d75afdc56 (diff) | |
download | ffmpeg-0843ddcb91cfd11eeeebbd62cfc4bcd340c1e87d.tar.gz |
fixing a bug that prevented proper unweighting table to be selected
Originally committed as revision 15579 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index c0cdee91e6..357baec296 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -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]; |