[libav-commits] indeo: Make ivi_calc_band_checksum() static, it is only used in one file.

Diego Biurrun git at libav.org
Sun May 20 16:09:10 CEST 2012


Module: libav
Branch: master
Commit: 4f04f5cc8b2a590217fe69492da3d65376ebcff3

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Sun May 20 15:59:30 2012 +0200

indeo: Make ivi_calc_band_checksum() static, it is only used in one file.

---

 libavcodec/ivi_common.c |    2 +-
 libavcodec/ivi_common.h |    5 -----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c
index 37888d3..cbcd970 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 24e52cc..1ba431b 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);



More information about the libav-commits mailing list