bad assumption in jpeg header detection
This commit is contained in:
parent
24c0124f74
commit
53681577c9
11
graphics/gtksee/patches/patch-src_detect.c
Normal file
11
graphics/gtksee/patches/patch-src_detect.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/detect.c.orig Thu Mar 1 05:40:43 2001
|
||||
+++ src/detect.c Thu Mar 1 05:41:21 2001
|
||||
@@ -62,8 +62,6 @@
|
||||
{
|
||||
#ifdef HAVE_LIBJPEG
|
||||
jpeg_info jinfo;
|
||||
-
|
||||
- if (strncmp(&header[6], "JFIF", 4) != 0) return FALSE;
|
||||
|
||||
if (jpeg_get_header(filename, &jinfo))
|
||||
{
|
Loading…
Reference in New Issue
Block a user