Line
Link Here
|
0 |
-- a/poppler/CairoOutputDev.cc |
0 |
++ b/poppler/CairoOutputDev.cc |
Lines 1605-1611
void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
Link Here
|
1605 |
cairo_matrix_t matrix; |
1605 |
cairo_matrix_t matrix; |
1606 |
int is_identity_transform; |
1606 |
int is_identity_transform; |
1607 |
|
1607 |
|
1608 |
buffer = (unsigned char *)gmalloc (width * height * 4); |
1608 |
buffer = (unsigned char *)gmallocn (width, height * 4); |
1609 |
|
1609 |
|
1610 |
/* TODO: Do we want to cache these? */ |
1610 |
/* TODO: Do we want to cache these? */ |
1611 |
imgStr = new ImageStream(str, width, |
1611 |
imgStr = new ImageStream(str, width, |