Skip to content

Commit

Permalink
Rename a variable: entry_count => entryCount
Browse files Browse the repository at this point in the history
  • Loading branch information
wantehchang committed Aug 24, 2023
1 parent c51f1bb commit 7224139
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -2932,10 +2932,10 @@ static avifBool avifParseEditListBox(avifTrack * track, const uint8_t * raw, siz
}

track->isRepeating = AVIF_TRUE;
uint32_t entry_count;
AVIF_CHECK(avifROStreamReadU32(&s, &entry_count)); // unsigned int(32) entry_count;
if (entry_count != 1) {
avifDiagnosticsPrintf(diag, "Box[elst] contains an entry_count != 1 [%d]", entry_count);
uint32_t entryCount;
AVIF_CHECK(avifROStreamReadU32(&s, &entryCount)); // unsigned int(32) entry_count;
if (entryCount != 1) {
avifDiagnosticsPrintf(diag, "Box[elst] contains an entry_count != 1 [%d]", entryCount);
return AVIF_FALSE;
}

Expand Down

0 comments on commit 7224139

Please sign in to comment.