Home | History | Annotate | Download | only in jpeg-6b

Lines Matching refs:FILE

5  * This file is part of the Independent JPEG Group's software.
6 * For conditions of distribution and use, see the accompanying README file.
8 * This file contains a very simple stand-alone application that displays
9 * the text in COM (comment) markers in a JFIF file.
57 * These macros are used to read the input file.
61 static FILE * infile; /* input JPEG file */
79 ERREXIT("Premature EOF in JPEG file");
92 ERREXIT("Premature EOF in JPEG file");
95 ERREXIT("Premature EOF in JPEG file");
130 * to pad the file.
157 fprintf(stderr, "Warning: garbage data found in JPEG file\n");
166 * For a JFIF file, the first two bytes of the file should be literally
168 * input file weren't actually JPEG at all, next_marker might read the whole
169 * file and then return a misleading error message...
180 ERREXIT("Not a JPEG file");
328 /* Expect SOI at start of file */
396 fprintf(stderr, "rdjpgcom displays any textual comments in a JPEG file.\n");
456 break; /* not switch, must be file name */
464 /* Open the input file. */
465 /* Unix style: expect zero or one file name */
467 fprintf(stderr, "%s: only one input file\n", progname);
476 /* default input file is stdin */
477 #ifdef USE_SETMODE /* need to hack file mode? */