Skip to content

Commit

Permalink
Add missing changelog for avifdec --index all (#2672)
Browse files Browse the repository at this point in the history
Fix int => avifBool.
  • Loading branch information
maryla-uc authored Mar 7, 2025
1 parent 3e305e7 commit 5f410ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ The changes are relative to the previous release, unless the baseline is specifi

## [Unreleased]

### Added since 1.2.0

* Add support for outputting all frames of an image sequence in `avifdec`.
`avifdec --index all sequence.avif out.png` creates files named
`out-xxxxxxxxxx.png` where xxxxxxxxxx are the zero-padded frame indices.

### Changed since 1.2.0

* Fix local libargparse dependency patch step on macOS 10.15 and earlier.
Expand Down
2 changes: 1 addition & 1 deletion apps/avifdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ int main(int argc, char * argv[])
printf("Image decoded: %s\n", inputFilename);
avifContainerDump(decoder);

const int isSequence = decoder->imageCount > 1;
const avifBool isSequence = decoder->imageCount > 1;
printf(" * %" PRIu64 " timescales per second, %2.2f seconds (%" PRIu64 " timescales), %d frame%s\n",
decoder->timescale,
decoder->duration,
Expand Down

0 comments on commit 5f410ec

Please sign in to comment.