diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-19 06:17:43 +0000 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-19 06:17:43 +0000 |
commit | 85074d3c9388123d792995c8f98c9b5d807566b4 (patch) | |
tree | 54440eea962c4864599dd5403fc0244becb24875 /libavutil/crc.h | |
parent | d1928ac1296a09c658ba64fe5c503979e280a2e0 (diff) | |
download | ffmpeg-85074d3c9388123d792995c8f98c9b5d807566b4.tar.gz |
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
Diffstat (limited to 'libavutil/crc.h')
-rw-r--r-- | libavutil/crc.h | 2 |
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 */ |