}
if (verbose || mode == MODE_IDENT) {
- struct lbx_imginfo info;
int palette_count;
if (!file)
return EXIT_FAILURE;
}
- lbx_img_getinfo(img, &info);
printf("%s is %hux%hu LBX image, %hhu frame(s)%s%s%s\n",
file, img->width, img->height, img->frames,
- palette_count ? ", embedded palette" : "",
- img->chunk ? ", chunked" : "",
- info.looping ? ", loops" : "");
+ palette_count ? ", embedded palette" : "",
+ img->chunk ? ", chunked" : "",
+ img->leadin+1 < img->frames ? ", loops" : "");
}
switch (mode) {