Commit Graph

1 Commits

Author SHA1 Message Date
Moritz Bunkus
639407f580 HEVC parser: detect and ignore invalid default display window VUI parameters
Certain files seem to lack the "default display window" data (well,
the flag that signals its presence/absence). Therefore a
standards-compliant parser would try to read that flag, but the data
read would belong to another flag (the "vui_timing_info_present_flag").

ffmpeg has a heuristic in place for detecting such invalid default
display window parameters. This commit implements the same heuristic
in mkvmerge.

Fixes #1907.
2017-03-19 18:57:17 +01:00