[FFmpeg-cvslog] r15579 - trunk/libavcodec/dv.c
romansh
subversion
Tue Oct 7 17:51:29 CEST 2008
Author: romansh
Date: Tue Oct 7 17:51:29 2008
New Revision: 15579
Log:
fixing a bug that prevented proper unweighting table to be selected
Modified:
trunk/libavcodec/dv.c
Modified: trunk/libavcodec/dv.c
==============================================================================
--- trunk/libavcodec/dv.c (original)
+++ trunk/libavcodec/dv.c Tue Oct 7 17:51:29 2008
@@ -410,7 +410,7 @@ static inline void dv_decode_video_segme
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];
More information about the ffmpeg-cvslog
mailing list