git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed ocr0.h include
[swftools.git]
/
lib
/
jpeg.c
diff --git
a/lib/jpeg.c
b/lib/jpeg.c
index
dee4dfa
..
b0059b8
100644
(file)
--- a/
lib/jpeg.c
+++ b/
lib/jpeg.c
@@
-319,7
+319,7
@@
int jpeg_load(const char*filename, unsigned char**dest, int*_width, int*_height)
for (y=0;y<height;y++) {
int x;
U8 *js = scanline;
- RGBA*line = (RGBA*)&(*dest)[y*width];
+ RGBA*line = &((RGBA*)(*dest))[y*width];
jpeg_read_scanlines(&cinfo, &js, 1);
if (cinfo.out_color_space == JCS_GRAYSCALE) {