Distinguish between sequence and progressive In avifImageDump(), improve the check for an image sequence by excluding the progressive decoding case.
diff --git a/apps/shared/avifutil.c b/apps/shared/avifutil.c index a986ed6..8e20090 100644 --- a/apps/shared/avifutil.c +++ b/apps/shared/avifutil.c
@@ -135,7 +135,7 @@ void avifContainerDump(const avifDecoder * decoder) { avifImageDumpInternal(decoder->image, 0, 0, decoder->alphaPresent, decoder->progressiveState); - if (decoder->imageCount > 1) { + if ((decoder->progressiveState == AVIF_PROGRESSIVE_STATE_UNAVAILABLE) && (decoder->imageCount > 1)) { if (decoder->repetitionCount == AVIF_REPETITION_COUNT_INFINITE) { printf(" * Repeat Count : Infinite\n"); } else if (decoder->repetitionCount == AVIF_REPETITION_COUNT_UNKNOWN) {