diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index e5ff56903f..62051e467f 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -1344,16 +1344,20 @@ static void clear_blocks_c(DCTELEM *blocks) void dsputil_init(DSPContext* c, unsigned mask) { + static int init_done = 0; int i; - for(i=0;i<256;i++) cropTbl[i + MAX_NEG_CROP] = i; - for(i=0;iget_pixels = get_pixels_c;