summaryrefslogtreecommitdiffstats
path: root/libavformat/fifo_test.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2021-02-16 16:51:40 +0100
committerAndreas Rheinhardt <[email protected]>2021-02-22 03:57:52 +0100
commit0a99c3dadc3f9cef922c5c61a2ef4bc58af10a1a (patch)
tree5f7236409c05e81f6eb8d25ff3c5090ee636e44d /libavformat/fifo_test.c
parent2f1a5621d319502fc8435a777d9628dec1958b3c (diff)
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 <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavformat/fifo_test.c')
0 files changed, 0 insertions, 0 deletions