Skip to content

Commit

Permalink
Fix issue #874
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdr428 committed May 9, 2024
1 parent 5f73a18 commit 86b2fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsMuxer/matroskaDemuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ int MatroskaDemuxer::matroska_parse_block(uint8_t *data, int size, const int64_t
case 0x3: /* EBML lacing */
{
n = matroska_ebmlnum_uint(data, size, &num);
if (n < 0 || n >= laces)
if (n < 0 || n > laces)
{
LTRACE(LT_INFO, 0, "EBML block data error");
break;
Expand Down

0 comments on commit 86b2fe2

Please sign in to comment.