A potential deadlock in the demuxer was fixed.
Workarounds for bad MPEG and MP3 streams were
applied. Some of the demuxer's stuff was imported
or upgraded from mphq. Compilation on some
platforms was fixed. The number of compiler
warnings was reduced.