Mercurial > libavutil.hg
comparison crc.c @ 317:0df19c6b37d0 libavutil
kill 3 more av_mallocz_static()
author | michael |
---|---|
date | Wed, 14 Mar 2007 01:59:53 +0000 |
parents | d76a36742464 |
children | b1953daf424e |
comparison
equal
deleted
inserted
replaced
316:0846319fed73 | 317:0df19c6b37d0 |
---|---|
19 */ | 19 */ |
20 | 20 |
21 #include "common.h" | 21 #include "common.h" |
22 #include "crc.h" | 22 #include "crc.h" |
23 | 23 |
24 #if LIBAVUTIL_VERSION_INT < (50<<16) | |
24 AVCRC *av_crcEDB88320; | 25 AVCRC *av_crcEDB88320; |
25 AVCRC *av_crc04C11DB7; | 26 AVCRC *av_crc04C11DB7; |
26 AVCRC *av_crc8005 ; | 27 AVCRC *av_crc8005 ; |
27 AVCRC *av_crc07 ; | 28 AVCRC *av_crc07 ; |
29 #else | |
30 AVCRC av_crcEDB88320[257]; | |
31 AVCRC av_crc04C11DB7[257]; | |
32 AVCRC av_crc8005 [257]; | |
33 AVCRC av_crc07 [257]; | |
34 #endif | |
28 | 35 |
29 /** | 36 /** |
30 * Inits a crc table. | 37 * Inits a crc table. |
31 * @param ctx must be an array of sizeof(AVCRC)*257 or sizeof(AVCRC)*1024 | 38 * @param ctx must be an array of sizeof(AVCRC)*257 or sizeof(AVCRC)*1024 |
32 * @param cts_size size of ctx in bytes | 39 * @param cts_size size of ctx in bytes |