This commit is contained in:
tTh 2023-10-07 21:05:55 +02:00
parent 2699476135
commit 1f1398f9f2

View File

@ -47,8 +47,8 @@ if (memcmp(filehead.magic, "FIMG", 4)) {
}
/* XXX preparer la gestion des metadata */
if ('a' == filehead.magic[4]) {
fprintf(stderr,"\n\t****** %s have metadata\n\n", fname);
if ('a' == filehead.magic[4] && verbosity) {
fprintf(stderr,"\t****** %s have metadata\n", fname);
}
datas[0] = filehead.w;
@ -260,7 +260,8 @@ if ( (filehead.w != where->width) ||
/* XXX preparer la gestion des metadata */
if ('a' == filehead.magic[4]) {
if (verbosity > 1) fprintf(stderr,"****** %s have metadata\n", fname);
if (verbosity > 1) fprintf(stderr,"%s say %s have metadata\n",
__func__, fname);
foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR);
if (foo) {
fprintf(stderr, "%s: seek error\n", __func__);
@ -339,7 +340,7 @@ if (foo) {
*/
if ('a' == filehead.magic[4]) {
if (verbosity > 1)
{ fprintf(stderr, "%s: %s has metadata\n", __func__, fname); }
{ fprintf(stderr, "in %s, %s has metadata\n", __func__, fname); }
/* old school processing...
foo = fseek(fp, (long)sizeof(FimgMetaData), SEEK_CUR);
*/