Skip to content

Commit

Permalink
libmatroska2: count block data with ARRAYCOUNT()
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Jan 3, 2025
1 parent f091871 commit d9183dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmatroska2/matroskablock.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ err_t MATROSKA_BlockProcessFrameDurations(matroska_block *Block, struct stream *
{
EBML_StringGet((ebml_string*)Elt,CodecID,TSIZEOF(CodecID));
ReadData = 0;
if (!ArraySize(&Block->Data))
if (!ARRAYCOUNT(Block->Data,uint8_t))
{
Err = MATROSKA_BlockReadData(Block,Input,ForProfile);
if (Err!=ERR_NONE)
Expand Down

0 comments on commit d9183dc

Please sign in to comment.