diff options
author | Maxim Poliakovski <max_pole@gmx.de> | 2010-03-07 09:03:45 +0300 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2010-03-07 09:03:45 +0300 |
commit | e7edeb9191ca434fc707f2e984a1558d04f16545 (patch) | |
tree | 70cf5a15e67eceb4102d9c62b032b1cbbe2d95fb /libavcodec/ivi_common.c | |
parent | 4def700e9eb05a5812ef05ac8f109b54afebba12 (diff) |
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)
Originally committed as revision 22275 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ivi_common.c')
-rw-r--r-- | libavcodec/ivi_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c index ad08b448b0..e4cb42fb50 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -413,7 +413,7 @@ int ff_ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile) 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) |