aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/drawutils.c
diff options
context:
space:
mode:
authorChris Cunningham <chcunningham@chromium.org>2017-02-03 14:42:44 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-08 21:17:51 +0100
commitb3ae6cfe1104add473e09a5a18b2dfe6d06c1576 (patch)
tree52be9ca7d2d2fbc6b64731e8ebb411a9957b4887 /libavfilter/drawutils.c
parentd053b25b59ccfe51f19e61202313d8388a45922a (diff)
downloadffmpeg-b3ae6cfe1104add473e09a5a18b2dfe6d06c1576.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 'libavfilter/drawutils.c')
0 files changed, 0 insertions, 0 deletions