[FFmpeg-cvslog] r22275 - trunk/libavcodec/ivi_common.c
kostya
subversion
Sun Mar 7 07:03:45 CET 2010
Author: kostya
Date: Sun Mar 7 07:03:45 2010
New Revision: 22275
Log:
When tracking non-zero coefficients during Indeo 5 decoding, make sure
it does not ignore coefficient value = 256.
Patch by Maxim ((!min)_pole \at gmx dot/ de)
Modified:
trunk/libavcodec/ivi_common.c
Modified: trunk/libavcodec/ivi_common.c
==============================================================================
--- trunk/libavcodec/ivi_common.c Sun Mar 7 04:01:36 2010 (r22274)
+++ trunk/libavcodec/ivi_common.c Sun Mar 7 07:03:45 2010 (r22275)
@@ -413,7 +413,7 @@ int ff_ivi_decode_blocks(GetBitContext *
if (q > 1)
val = val * q + FFSIGN(val) * ((q >> 1) - (q & 1));
trvec[pos] = val;
- col_flags[pos & col_mask] |= val; /* track columns containing non-zero coeffs */
+ col_flags[pos & col_mask] |= !!val; /* track columns containing non-zero coeffs */
}// while
if (scan_pos >= num_coeffs && sym != rvmap->eob_sym)
More information about the ffmpeg-cvslog
mailing list