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

Diego Biurrun git at videolan.org
Sun May 20 23:00:49 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun May 20 15:59:30 2012 +0200| [4f04f5cc8b2a590217fe69492da3d65376ebcff3] | committer: Diego Biurrun

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f04f5cc8b2a590217fe69492da3d65376ebcff3
---

 libavcodec/ivi_common.c |    2 +-
 libavcodec/ivi_common.h |    5 -----
 2 files changed, 1 insertion(+), 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 ffmpeg-cvslog mailing list