libmpdemux/demux_real.c around line 367 uses the num_of_packets from the header to know when to stop. Problem is, this value is entirely unreliable. Removing this check allowed me to see complete streams that were cut before. OG.