diff crc.h @ 481:f4187c1c15a6 libavutil

Reapply r12489: Add pure, const and malloc attributes to proper functions in libavutil. Fix a compilation failure in r12489.
author zuxy
date Wed, 19 Mar 2008 06:17:43 +0000
parents 8d2c05ebf5f1
children b4ff998c79e3
line wrap: on
line diff
--- a/crc.h	Tue Mar 18 22:28:33 2008 +0000
+++ b/crc.h	Wed Mar 19 06:17:43 2008 +0000
@@ -37,7 +37,7 @@
 
 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
 const AVCRC *av_crc_get_table(AVCRCId crc_id);
-uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length);
+uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure;
 
 #endif /* FFMPEG_CRC_H */