IMG_jpg.c
changeset 71 e2eb6980be07
parent 61 a8a23146b406
child 97 e1161bd417c4
     1.1 --- a/IMG_jpg.c	Fri May 03 02:10:44 2002 +0000
     1.2 +++ b/IMG_jpg.c	Thu Jun 20 17:06:38 2002 +0000
     1.3 @@ -48,7 +48,8 @@
     1.4  		if ( (magic[0] == 0xFF) && (magic[1] == 0xD8) ) {
     1.5  			SDL_RWread(src, magic, 4, 1);
     1.6  			SDL_RWread(src, magic, 4, 1);
     1.7 -			if ( memcmp((char *)magic, "JFIF", 4) == 0 ) {
     1.8 +			if ( memcmp((char *)magic, "JFIF", 4) == 0 ||
     1.9 +			     memcmp((char *)magic, "Exif", 4) == 0 ) {
    1.10  				is_JPG = 1;
    1.11  			}
    1.12  		}