From 85074d3c9388123d792995c8f98c9b5d807566b4 Mon Sep 17 00:00:00 2001 From: Zuxy Meng Date: Wed, 19 Mar 2008 06:17:43 +0000 Subject: Reapply r12489: Add pure, const and malloc attributes to proper functions in libavutil. Fix a compilation failure in r12489. Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/crc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/crc.h') diff --git a/libavutil/crc.h b/libavutil/crc.h index d6b93c38d2..9798cf6a38 100644 --- a/libavutil/crc.h +++ b/libavutil/crc.h @@ -37,7 +37,7 @@ typedef enum { 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 */ -- cgit v1.2.3