Skip to content

Commit

Permalink
[demuxers/MpegTS] Remember how many audio tracks have got their packe…
Browse files Browse the repository at this point in the history
…t stats populated

The counter for populated stats was reset on every iteration. If we were not lucky to find stats for all tracks at once, we kept reading the file until the limit of 16 MiB was reached.
  • Loading branch information
eumagga0x2a committed Jul 7, 2020
1 parent a1d969d commit 8cca121
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion avidemux_plugins/ADM_demuxers/MpegTS/dmxTSPacket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,6 @@ bool tsPacketLinearTracker::collectStats(void)

while(count<max && stillOk())
{
found=0;
count++;
readi8();
for(i=0; i<totalTracks; i++)
Expand Down

0 comments on commit 8cca121

Please sign in to comment.