summaryrefslogtreecommitdiff
path: root/libavutil/crc.h
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2008-03-18 15:27:15 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-03-18 15:27:15 +0000
commit6544f48f038552973a552401cea5d4e8f1fc9c0a (patch)
treedf001b9633d7c0cd7407cc0566e21917edf73d7b /libavutil/crc.h
parent38c669d853dfa60a73bf59695ff03e7104650623 (diff)
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
Diffstat (limited to 'libavutil/crc.h')
-rw-r--r--libavutil/crc.h2
1 files changed, 1 insertions, 1 deletions
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 */