From 08cb1950209b53bf98bf2014ca584a6b0e138917 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 14 Mar 2007 01:59:53 +0000 Subject: kill 3 more av_mallocz_static() Originally committed as revision 8397 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/crc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavutil/crc.h') diff --git a/libavutil/crc.h b/libavutil/crc.h index e739c309b7..1f6431992b 100644 --- a/libavutil/crc.h +++ b/libavutil/crc.h @@ -23,10 +23,17 @@ typedef uint32_t AVCRC; +#if LIBAVUTIL_VERSION_INT < (50<<16) extern AVCRC *av_crcEDB88320; extern AVCRC *av_crc04C11DB7; extern AVCRC *av_crc8005 ; extern AVCRC *av_crc07 ; +#else +extern AVCRC av_crcEDB88320[]; +extern AVCRC av_crc04C11DB7[]; +extern AVCRC av_crc8005 []; +extern AVCRC av_crc07 []; +#endif int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size); uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length); -- cgit v1.2.3