From: Lutz M?l. <lu...@us...> - 2003-10-30 21:26:33
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs1:/tmp/cvs-serv24570/libexif Modified Files: exif-loader.c Log Message: 2003-10-30 Lutz Mueller <lu...@us...> * libexif/exif-loader.c: Handle APP13. Index: exif-loader.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-loader.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- exif-loader.c 30 Oct 2003 21:10:35 -0000 1.4 +++ exif-loader.c 30 Oct 2003 21:26:30 -0000 1.5 @@ -63,6 +63,7 @@ switch (eld->last_marker) { case JPEG_MARKER_APP0: + case JPEG_MARKER_APP13: eld->state = EL_SKIP_BYTES; eld->size -= 2; break; @@ -88,8 +89,9 @@ default: if (buf[i] != 0xff) { - if (buf [i] == JPEG_MARKER_APP0 || - buf [i] == JPEG_MARKER_APP1) { + if (buf[i] == JPEG_MARKER_APP0 || + buf[i] == JPEG_MARKER_APP1 || + buf[i] == JPEG_MARKER_APP13) { eld->state = EL_READ_SIZE_HIGH_BYTE; eld->last_marker = buf [i]; |