Searched refs:itemlen (Results 1 – 2 of 2) sorted by relevance
138 int itemlen; in ReadJpegSections() local162 itemlen = (lh << 8) | ll; in ReadJpegSections()164 if (itemlen < 2){ in ReadJpegSections()170 Sections[SectionsRead].Size = itemlen; in ReadJpegSections()172 Data = (uchar *)malloc(itemlen); in ReadJpegSections()184 got = fread(Data+2, 1, itemlen-2, infile); // Read the whole section. in ReadJpegSections()185 if (got != itemlen-2){ in ReadJpegSections()238 process_COM(Data, itemlen); in ReadJpegSections()255 process_EXIF(Data, itemlen); in ReadJpegSections()260 printf("Image cotains XMP section, %d bytes long\n", itemlen); in ReadJpegSections()[all …]
52 void show_IPTC (unsigned char* Data, unsigned int itemlen) in show_IPTC() argument59 unsigned char * maxpos = Data+itemlen; in show_IPTC()62 if (itemlen < 25) goto corrupt; in show_IPTC()98 while (pos < (Data + itemlen-5)) { in show_IPTC()