avformat:matroskadec: use a define to mark the EBML length is unknown
authorSteve Lhomme <robux4@ycbcr.xyz>
Sat, 23 Feb 2019 10:14:33 +0000 (11:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 24 Feb 2019 19:31:07 +0000 (20:31 +0100)
commita2c7702ccf5e023c40a18c92e3182e24fefab691
treeeb178c4d0e1ec86a72c4d3f70ffda888feaa32f8
parent96d79ff5b5c8b08eaead6fd2c77a265fd2c40b22
avformat:matroskadec: use a define to mark the EBML length is unknown

Unifying the way the EBML unknown length is signaled, rather than using two
incompatible values. UINT64_MAX cannot be read as a valid EBML length with the
current code.

Co-authored-by: Steve Lhomme <robux4@ycbcr.xyz>
Co-authored-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/matroskadec.c