Skip to content

Commit

Permalink
read.c: Minor clang-format missed.
Browse files Browse the repository at this point in the history
PR #1817 was pre-maturely submitted without this.
  • Loading branch information
vigneshvg committed Nov 29, 2023
1 parent 0679908 commit 9a64cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ static avifResult avifMetaFindOrCreateItem(avifMeta * meta, uint32_t itemID, avi
AVIF_CHECKERR(item_ptr != NULL, AVIF_RESULT_OUT_OF_MEMORY);
*item_ptr = (avifDecoderItem *)avifAlloc(sizeof(avifDecoderItem));
if (*item_ptr == NULL) {
avifArrayPop(&meta->items);
return AVIF_RESULT_OUT_OF_MEMORY;
avifArrayPop(&meta->items);
return AVIF_RESULT_OUT_OF_MEMORY;
}
memset(*item_ptr, 0, sizeof(avifDecoderItem));

Expand Down

0 comments on commit 9a64cde

Please sign in to comment.