diff --git a/lib/ts_stream.cpp b/lib/ts_stream.cpp index 9e305fa6..6e7fcfdb 100644 --- a/lib/ts_stream.cpp +++ b/lib/ts_stream.cpp @@ -208,7 +208,7 @@ namespace TS{ return; } - if(seenUnitStart[tid] > 1) { + while(seenUnitStart[tid] > 1) { parsePES(tid); } }