Update of /cvsroot/ufraw/ufraw In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26382
Modified Files: ufraw_writer.c Log Message: Move pixbuf from stack to heap, since win32 stack is too small. Index: ufraw_writer.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_writer.c,v retrieving revision 1.84 retrieving revision 1.85 diff -u -d -r1.84 -r1.85 --- ufraw_writer.c 10 Mar 2013 09:30:09 -0000 1.84 +++ ufraw_writer.c 12 Mar 2013 03:21:52 -0000 1.85 @@ -212,7 +212,8 @@ ufraw_image_type *rawImage = (ufraw_image_type *)uf->Images[ufraw_first_phase].buffer; int byteDepth = (bitDepth + 7) / 8; - guint8 pixbuf8[Crop->width * 3 * byteDepth * DEVELOP_BATCH]; + guint8 *pixbuf8 = g_new(guint8, + Crop->width * 3 * byteDepth * DEVELOP_BATCH); progress(PROGRESS_SAVE, -Crop->height); for (row0 = 0; row0 < Crop->height; row0 += DEVELOP_BATCH) { @@ -234,6 +235,7 @@ grayscaleMode, bitDepth) != UFRAW_SUCCESS) break; } + g_free(pixbuf8); } int ufraw_write_image(ufraw_data *uf) ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs