aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-09-04 00:50:11 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-15 17:25:46 +0200
commita2ab8babef6d6eabbd7ae5f5f36df9c069f7d94b (patch)
tree57b88e6a99c40b0683285b29bb18eafd2481f4ea /tools/python
parent751f285152b90faf78d3dde76bc5cee16f093813 (diff)
downloadffmpeg-a2ab8babef6d6eabbd7ae5f5f36df9c069f7d94b.tar.gz
avformat/matroskadec: Fix handling gigantic durations
matroska_parse_block currently asserts that the duration is not equal to AV_NOPTS_VALUE, but there is nothing that actually guarantees this. It is easy to create (spec-compliant) files which run into this assert; so replace it and instead cap the duration to INT64_MAX, as the duration field of an AVPacket is an int64_t. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 3714d452b894821591a2fbafdd1b8ef15abe4be6)
Diffstat (limited to 'tools/python')
0 files changed, 0 insertions, 0 deletions