From d5aef76ff4e96ed37792a32082930c43e2b881fc Mon Sep 17 00:00:00 2001 From: jonas Date: Fri, 26 Apr 2019 01:25:22 +0200 Subject: Added ignore patterns --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 06e7f41..68c1489 100644 --- a/src/main.c +++ b/src/main.c @@ -173,7 +173,8 @@ int strip_jpg(char *_filename) } else if(segment == _JPG_EXIF || segment == _JPG_COM || - segment == _JPG_COPY ) + segment == _JPG_COPY || + (((segment & 0xFFF0) == (_JPG_APP0 & 0xFFF0)) && ((segment & 0x000F) > 1))) { unsigned char l1 = fgetc(in); unsigned char l2 = fgetc(in); -- cgit v1.2.3