Mercurial > libavcodec.hg
comparison utils.c @ 3171:47f2f56a6a28 libavcodec
switch flac to av_crc
| author | michael |
|---|---|
| date | Mon, 06 Mar 2006 15:09:04 +0000 |
| parents | 1475eb5f8649 |
| children | 18af2f7788c6 |
comparison
equal
deleted
inserted
replaced
| 3170:1475eb5f8649 | 3171:47f2f56a6a28 |
|---|---|
| 1220 } | 1220 } |
| 1221 | 1221 |
| 1222 static void init_crcs(void){ | 1222 static void init_crcs(void){ |
| 1223 av_crc04C11DB7= av_mallocz_static(sizeof(AVCRC) * 257); | 1223 av_crc04C11DB7= av_mallocz_static(sizeof(AVCRC) * 257); |
| 1224 av_crc8005 = av_mallocz_static(sizeof(AVCRC) * 257); | 1224 av_crc8005 = av_mallocz_static(sizeof(AVCRC) * 257); |
| 1225 av_crc07 = av_mallocz_static(sizeof(AVCRC) * 257); | |
| 1225 av_crc_init(av_crc04C11DB7, 0, 32, 0x04c11db7, sizeof(AVCRC)*257); | 1226 av_crc_init(av_crc04C11DB7, 0, 32, 0x04c11db7, sizeof(AVCRC)*257); |
| 1226 av_crc_init(av_crc8005 , 0, 16, 0x8005 , sizeof(AVCRC)*257); | 1227 av_crc_init(av_crc8005 , 0, 16, 0x8005 , sizeof(AVCRC)*257); |
| 1228 av_crc_init(av_crc07 , 0, 8, 0x07 , sizeof(AVCRC)*257); | |
| 1227 } | 1229 } |
| 1228 | 1230 |
| 1229 /* must be called before any other functions */ | 1231 /* must be called before any other functions */ |
| 1230 void avcodec_init(void) | 1232 void avcodec_init(void) |
| 1231 { | 1233 { |
