Backport of "rmdemux: Make sure we have enough data available when parsing audio/video packets" into 1.16
Backport of !74 (merged) "rmdemux: Make sure we have enough data available when parsing audio/video packets".
Commits:
- 3aba7d1e rmdemux: Make sure we have enough data available when parsing audio/video packets