Browse Source

- optimized include

- use tag_t for tag in check_all_offsets_are_used_once_only()
development
Andreas Romeyke 8 months ago
parent
commit
b08e735654
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/ifdrules/check_all_offsets_are_used_once_only.c

+ 1
- 2
src/ifdrules/check_all_offsets_are_used_once_only.c View File

@ -8,7 +8,6 @@
#include "check.h"
#include "check_helper.h"
#include <unistd.h>
/* check if offsets are used only once */
@ -31,7 +30,7 @@ ret_t check_all_offsets_are_used_once_only(ctiff_t * ctif) {
ifd_entry_t ifd_entry = TIFFGetRawTagIFDListEntry( ctif, tagidx );
if (ifd_entry.value_or_offset==is_offset) {
uint32 offset = ifd_entry.data32offset;
uint32 tag = TIFFGetRawTagListEntry( ctif, tagidx);
tag_t tag = TIFFGetRawTagListEntry( ctif, tagidx);
for (i=0; i< count_of_offsets; i++) {
if (offsets[ i ] == offset) {
// FIXME: tif_fails?


Loading…
Cancel
Save