Revision 43a80cce libavcodec/utils.c

View differences:

libavcodec/utils.c
29 29
#include "mpegvideo.h"
30 30
#include "integer.h"
31 31
#include "opt.h"
32
#include "crc.h"
32 33
#include <stdarg.h>
33 34
#include <limits.h>
34 35
#include <float.h>
......
1218 1219
  return LIBAVCODEC_BUILD;
1219 1220
}
1220 1221

  
1222
static void init_crcs(void){
1223
    av_crc04C11DB7= av_mallocz_static(sizeof(AVCRC) * 257);
1224
    av_crc_init(av_crc04C11DB7, 0, 32, 0x04c11db7, sizeof(AVCRC)*257);
1225
}
1226

  
1221 1227
/* must be called before any other functions */
1222 1228
void avcodec_init(void)
1223 1229
{
......
1228 1234
    inited = 1;
1229 1235

  
1230 1236
    dsputil_static_init();
1237
    init_crcs();
1231 1238
}
1232 1239

  
1233 1240
/**

Also available in: Unified diff