From: <lu...@us...> - 2003-04-13 20:45:11
|
Update of /cvsroot/libexif/libexif/libjpeg In directory sc8-pr-cvs1:/tmp/cvs-serv20053/libjpeg Modified Files: jpeg-data.c Log Message: 2003-03-13 Lutz Mueller <lu...@us...> * libjpeg/jpeg-data.c: Aravind <ara...@us...> found a bug there. Index: jpeg-data.c =================================================================== RCS file: /cvsroot/libexif/libexif/libjpeg/jpeg-data.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- jpeg-data.c 15 Dec 2002 11:41:11 -0000 1.8 +++ jpeg-data.c 13 Apr 2003 20:45:07 -0000 1.9 @@ -416,7 +416,7 @@ if (!section) { jpeg_data_append_section (data); memmove (&data->sections[2], &data->sections[1], - data->count - 2); + sizeof (JPEGSection) * data->count - 2); section = &data->sections[1]; } section->marker = JPEG_MARKER_APP1; |