Browse Source

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
tags/v0.6
Maxim Poliakovski Kostya Shishkov 16 years ago
parent
commit
e7edeb9191
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ivi_common.c

+ 1
- 1
libavcodec/ivi_common.c View File

@@ -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)


Loading…
Cancel
Save