From: <lu...@us...> - 2003-04-13 20:49:08
|
Update of /cvsroot/libexif/exif/libjpeg In directory sc8-pr-cvs1:/tmp/cvs-serv21563/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/exif/libjpeg/jpeg-data.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- jpeg-data.c 13 Apr 2003 20:42:38 -0000 1.4 +++ jpeg-data.c 13 Apr 2003 20:49:04 -0000 1.5 @@ -416,7 +416,7 @@ if (!section) { jpeg_data_append_section (data); memmove (&data->sections[2], &data->sections[1], - sizeof (JPEGSection) * data->count - 2); + sizeof (JPEGSection) * (data->count - 2)); section = &data->sections[1]; } section->marker = JPEG_MARKER_APP1; |