struct jpeg_error_mgr jerr;
struct jpeg_source_mgr mgr;
RGBA * dest;
+ int y;
*width = 0;
*height = 0;
dest = rfx_alloc(sizeof(RGBA)*cinfo.image_width*cinfo.image_height);
jpeg_start_decompress(&cinfo);
- int y;
for (y=0;y<cinfo.output_height;y++) {
RGBA* line = &dest[y*cinfo.image_width];
U8* to = (U8*)line;