switch ac3enc to av_crc

Originally committed as revision 5116 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2006-03-06 14:53:13 +00:00
parent 43a80ccee5
commit e027d0a81e
3 changed files with 5 additions and 34 deletions

View File

@@ -1221,7 +1221,9 @@ unsigned avcodec_build( void )
static void init_crcs(void){
av_crc04C11DB7= av_mallocz_static(sizeof(AVCRC) * 257);
av_crc8005 = av_mallocz_static(sizeof(AVCRC) * 257);
av_crc_init(av_crc04C11DB7, 0, 32, 0x04c11db7, sizeof(AVCRC)*257);
av_crc_init(av_crc8005 , 0, 16, 0x8005 , sizeof(AVCRC)*257);
}
/* must be called before any other functions */