diff options
author | wm4 <wm4@nowhere> | 2015-08-26 22:47:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-26 22:47:07 +0200 |
commit | ba384fffca982465e63c3ffe3a3fb34c08e75de2 (patch) | |
tree | bdce42a10ea223eacbaa5e6509927e39ebf945de /player | |
parent | dae464a4910e552e51357f697efdad17ba08b900 (diff) |
demux_mkv: discard broken index
Add a simplistic heuristic for detecting broken indexes. This includes
indexes with very few elements (apparently libavformat sometimes writes
such indexes, or used to), and indexes with broken timestamps.
The latter was apparently produced by very old HandBrake versions:
| + Muxing application: libmkv 0.6.1.2
| + Writing application: HandBrake 0.9.1
These broken files seem to be common enough that libavformat added a
workaround for them in 2008 (and maybe again in 2015). Apparently all
timestamps are multiplied with the file's tc_scale twice, and FFmpeg
attempts to fix them. We should throw away the whole thing.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions