comparison dsputil.c @ 751:cbe316f082bc libavcodec

warning fixes
author michaelni
date Tue, 15 Oct 2002 15:24:08 +0000
parents e65798d228ea
children 8e1f0939d15d
comparison
equal deleted inserted replaced
750:4adadf210b3b 751:cbe316f082bc
1510 memset(blocks, 0, sizeof(DCTELEM)*6*64); 1510 memset(blocks, 0, sizeof(DCTELEM)*6*64);
1511 } 1511 }
1512 1512
1513 void dsputil_init(void) 1513 void dsputil_init(void)
1514 { 1514 {
1515 int i, j; 1515 int i;
1516 1516
1517 for(i=0;i<256;i++) cropTbl[i + MAX_NEG_CROP] = i; 1517 for(i=0;i<256;i++) cropTbl[i + MAX_NEG_CROP] = i;
1518 for(i=0;i<MAX_NEG_CROP;i++) { 1518 for(i=0;i<MAX_NEG_CROP;i++) {
1519 cropTbl[i] = 0; 1519 cropTbl[i] = 0;
1520 cropTbl[i + MAX_NEG_CROP + 256] = 255; 1520 cropTbl[i + MAX_NEG_CROP + 256] = 255;