aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_vda.c
diff options
context:
space:
mode:
authorChris Cunningham <chcunningham@chromium.org>2017-02-03 14:42:44 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-08-23 13:15:16 +0200
commitef1da0bd533ba10741ef75661ce2c786842b64a3 (patch)
tree369c86054a4ec20974b5bd53f18255aed12e3ccd /ffmpeg_vda.c
parentf0439a39590d657bdc59151a4e1f8fb700a8cf29 (diff)
downloadffmpeg-ef1da0bd533ba10741ef75661ce2c786842b64a3.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) (cherry picked from commit ac25840ee32888f0c13118edeb9404a123cd3a79) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg_vda.c')
0 files changed, 0 insertions, 0 deletions