Skip to content

Commit cf109a3

Browse files
author
印体亮
committed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tsdemux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ TSDCode tsd_parse_table(TSDemuxContext *ctx,
431431
ptr += section_len + 3;
432432
section_count++;
433433

434-
if((ptr+1) < dataCtx->write && *(ptr+1) == 0xFF) {
434+
if((ptr+1) < dataCtx->write && (*(ptr+1) == 0xFF) || (0x00 == *(ptr+1))) {
435435
// we found the end of the table,
436436
// clear the active buffer seeing as we've finished with the table
437437
ctx->buffers.active = NULL;

0 commit comments

Comments
 (0)