diff options
author | Chris Cunningham <chcunningham@chromium.org> | 2017-02-03 14:42:44 -0800 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-02-06 09:33:28 +0100 |
commit | ac25840ee32888f0c13118edeb9404a123cd3a79 (patch) | |
tree | 5f6adff8f7cf2a683091cfd50badfd2f016c549a /libavcodec/adpcm.h | |
parent | dfc6e30cd4b9d1817b78579c11fc6881e40b9733 (diff) | |
download | ffmpeg-ac25840ee32888f0c13118edeb9404a123cd3a79.tar.gz |
lavf/matroskadec: fix is_keyframe for early Blocks
Blocks are marked as key frames whenever the "reference" field is
zero. This breaks for non-keyframe Blocks with a reference timestamp
of zero.
The likelihood of reference timestamp being zero is increased by a
longstanding bug in muxing that encodes reference timestamp as the
absolute time of the referenced frame (rather than relative to the
current Block timestamp, as described in MKV spec).
Now using INT64_MIN to denote "no reference".
Reported to chromium at http://crbug.com/497889 (contains sample)
Diffstat (limited to 'libavcodec/adpcm.h')
0 files changed, 0 insertions, 0 deletions