# HG changeset patch # User kostya # Date 1265874880 0 # Node ID b622564e2d60015de6ce6a97b115d699e87a2582 # Parent 134644e36859ad130603ccf823ebb3326411537f Move band checksum verifying into preprocessor condition, so compiler won't complain about missing function prototype. diff -r 134644e36859 -r b622564e2d60 indeo5.c --- a/indeo5.c Wed Feb 10 14:51:57 2010 +0000 +++ b/indeo5.c Thu Feb 11 07:54:40 2010 +0000 @@ -672,7 +672,8 @@ FFSWAP(int16_t, band->rv_map->valtab[idx1], band->rv_map->valtab[idx2]); } - if (IVI_DEBUG && band->checksum_present) { +#if IVI_DEBUG + if (band->checksum_present) { chksum = ivi_calc_band_checksum(band); if (chksum != band->checksum) { av_log(avctx, AV_LOG_ERROR, @@ -680,6 +681,7 @@ band->plane, band->band_num, band->checksum, chksum); } } +#endif return result; }