Replace custom DEBUG preprocessor trickery by the standard one.

This commit is contained in:
Diego Biurrun
2011-06-02 22:45:15 +02:00
parent 068aa38712
commit f190f676bc
12 changed files with 11 additions and 32 deletions

View File

@@ -629,7 +629,7 @@ static int decode_band(IVI5DecContext *ctx, int plane_num,
FFSWAP(int16_t, band->rv_map->valtab[idx1], band->rv_map->valtab[idx2]);
}
#if IVI_DEBUG
#ifdef DEBUG
if (band->checksum_present) {
uint16_t chksum = ivi_calc_band_checksum(band);
if (chksum != band->checksum) {