# HG changeset patch # User kabi # Date 1037095287 0 # Node ID a5f2284810006310d13fbf81849fc5dc4bd71860 # Parent 9512471dec409accbdeaa681c7b07ee5bae3fe76 * init table once diff -r 9512471dec40 -r a5f228481000 dsputil.c --- a/dsputil.c Tue Nov 12 09:47:14 2002 +0000 +++ b/dsputil.c Tue Nov 12 10:01:27 2002 +0000 @@ -1344,16 +1344,20 @@ 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;