aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-05-20 15:59:30 +0200
committerDiego Biurrun <diego@biurrun.de>2012-05-20 15:59:30 +0200
commit4f04f5cc8b2a590217fe69492da3d65376ebcff3 (patch)
tree5871cad94898c33ca4dd4f9aeb013cae93e2d995 /libavcodec
parent9ccbdc0acafcfd1947e019c24817f2526581da49 (diff)
downloadffmpeg-4f04f5cc8b2a590217fe69492da3d65376ebcff3.tar.gz
indeo: Make ivi_calc_band_checksum() static, it is only used in one file.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ivi_common.c2
-rw-r--r--libavcodec/ivi_common.h5
2 files changed, 1 insertions, 6 deletions
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);