aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-16 16:51:40 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-22 03:57:52 +0100
commit0a99c3dadc3f9cef922c5c61a2ef4bc58af10a1a (patch)
tree5f7236409c05e81f6eb8d25ff3c5090ee636e44d /.gitattributes
parent2f1a5621d319502fc8435a777d9628dec1958b3c (diff)
downloadffmpeg-0a99c3dadc3f9cef922c5c61a2ef4bc58af10a1a.tar.gz
avformat/matroskadec: Make reading zero-length elements spec-compliant
For a very long time, the payload of integer and float elements had to have a length > 0. Our parser treated such invalid elements as having a value zero. But now it has been defined what an EBML element with length zero means: It is a shorthand for the default value. This has also been defined for strings (both ASCII and UTF-8). This commit modifies our parser to support this. Reviewed-by: Ridley Combs <rcombs@rcombs.me> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions