Lines Matching refs:itemlen
138 int itemlen; in ReadJpegSections() local
162 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()
275 printf("Image cotains IPTC section, %d bytes long\n", itemlen); in ReadJpegSections()
302 printf("Jpeg section marker 0x%02x size %d\n",marker, itemlen); in ReadJpegSections()