diff options
author | jonas <himself@jonasgunz.de> | 2019-04-26 01:25:22 +0200 |
---|---|---|
committer | jonas <himself@jonasgunz.de> | 2019-04-26 01:25:22 +0200 |
commit | d5aef76ff4e96ed37792a32082930c43e2b881fc (patch) | |
tree | 6bee31a74eb1259958e8f9e116d177bc47ee4821 /src | |
parent | db4e0e4ac7edf3d06f6f371c4a30e20f31c7b8e0 (diff) | |
download | headstripper-d5aef76ff4e96ed37792a32082930c43e2b881fc.tar.gz |
Added ignore patterns
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |