[FFmpeg-cvslog] r21752 - trunk/libavcodec/indeo5.c
kostya
subversion
Thu Feb 11 08:54:41 CET 2010
Author: kostya
Date: Thu Feb 11 08:54:40 2010
New Revision: 21752
Log:
Move band checksum verifying into preprocessor condition, so compiler won't
complain about missing function prototype.
Modified:
trunk/libavcodec/indeo5.c
Modified: trunk/libavcodec/indeo5.c
==============================================================================
--- trunk/libavcodec/indeo5.c Thu Feb 11 00:36:35 2010 (r21751)
+++ trunk/libavcodec/indeo5.c Thu Feb 11 08:54:40 2010 (r21752)
@@ -672,7 +672,8 @@ static int decode_band(IVI5DecContext *c
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 @@ static int decode_band(IVI5DecContext *c
band->plane, band->band_num, band->checksum, chksum);
}
}
+#endif
return result;
}
More information about the ffmpeg-cvslog
mailing list