asfdemux: fix performance issue, especially with high-bitrate streams