Skip to content

Commit

Permalink
indeo: Make ivi_calc_band_checksum() static, it is only used in one f…
Browse files Browse the repository at this point in the history
…ile.
  • Loading branch information
DonDiego committed May 20, 2012
1 parent 9ccbdc0 commit 4f04f5c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion libavcodec/ivi_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions libavcodec/ivi_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4f04f5c

Please sign in to comment.