Unified · Split
| @@ -584,7 +584,7 @@ void ff_ivi_process_empty_tile(AVCodecContext *avctx, IVIBandDesc *band, · 583 unmodified lines | |||
| 584 | 584 | ||
| 585 | 585 | ||
| 586 | #ifdef DEBUG | 586 | #ifdef DEBUG |
| 587 | uint16_t ivi_calc_band_checksum (IVIBandDesc *band) | 587 | static uint16_t ivi_calc_band_checksum(IVIBandDesc *band) |
| 588 | { | 588 | { |
| 589 | int x, y; | 589 | int x, y; |
| 590 | int16_t *src, checksum; | 590 | int16_t *src, checksum; |
| @@ -396,11 +396,6 @@ void ff_ivi_process_empty_tile(AVCodecContext *avctx, IVIBandDesc *band, · 395 unmodified lines | |||
| 396 | */ | 396 | */ |
| 397 | void ff_ivi_output_plane(IVIPlaneDesc *plane, uint8_t *dst, int dst_pitch); | 397 | void ff_ivi_output_plane(IVIPlaneDesc *plane, uint8_t *dst, int dst_pitch); |
| 398 | 398 | ||
| 399 | /** | ||
| 400 | * Calculate band checksum from band data. | ||
| 401 | */ | ||
| 402 | uint16_t ivi_calc_band_checksum (IVIBandDesc *band); | ||
| 403 | |||
| 404 | int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *data_size, | 399 | int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *data_size, |
| 405 | AVPacket *avpkt); | 400 | AVPacket *avpkt); |
| 406 | av_cold int ff_ivi_decode_close(AVCodecContext *avctx); | 401 | av_cold int ff_ivi_decode_close(AVCodecContext *avctx); |