git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57216 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Oleg.Korshul
2014-07-08 10:20:58 +00:00
committed by Alexander Trofimov
parent 4d1e297908
commit 420b5f4b10

View File

@ -264,9 +264,9 @@ typedef struct {
INT32 volume;
/* The number of nonzero histogram cells within this box */
long colorcount;
} box;
} __box;
typedef box * boxptr;
typedef __box * boxptr;
LOCAL(boxptr)
@ -545,7 +545,7 @@ select_colors (j_decompress_ptr cinfo, int desired_colors)
/* Allocate workspace for box list */
boxlist = (boxptr) (*cinfo->mem->alloc_small)
((j_common_ptr) cinfo, JPOOL_IMAGE, desired_colors * SIZEOF(box));
((j_common_ptr) cinfo, JPOOL_IMAGE, desired_colors * SIZEOF(__box));
/* Initialize one box containing whole space */
numboxes = 1;
boxlist[0].c0min = 0;