From 6544f48f038552973a552401cea5d4e8f1fc9c0a Mon Sep 17 00:00:00 2001 From: Zuxy Meng Date: Tue, 18 Mar 2008 15:27:15 +0000 Subject: Pure, const and malloc attributes to libavutil. Patch by Zuxy Meng: zuxy meng gmail com Original thread: [FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil Date: 03/18/2008 6:09 AM Originally committed as revision 12489 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