diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c index 37888d3d8c..cbcd970980 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -584,7 +584,7 @@ void ff_ivi_process_empty_tile(AVCodecContext *avctx, IVIBandDesc *band, #ifdef DEBUG -uint16_t ivi_calc_band_checksum (IVIBandDesc *band) +static uint16_t ivi_calc_band_checksum(IVIBandDesc *band) { int x, y; int16_t *src, checksum; diff --git a/libavcodec/ivi_common.h b/libavcodec/ivi_common.h index 24e52cca53..1ba431b4ed 100644 --- a/libavcodec/ivi_common.h +++ b/libavcodec/ivi_common.h @@ -396,11 +396,6 @@ void ff_ivi_process_empty_tile(AVCodecContext *avctx, IVIBandDesc *band, */ void ff_ivi_output_plane(IVIPlaneDesc *plane, uint8_t *dst, int dst_pitch); -/** - * Calculate band checksum from band data. - */ -uint16_t ivi_calc_band_checksum (IVIBandDesc *band); - int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt); av_cold int ff_ivi_decode_close(AVCodecContext *avctx);