avformat/matroskadec: Get rid of cluster size field assumption
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 16 May 2019 22:29:49 +0000 (00:29 +0200)
committerJames Almer <jamrial@gmail.com>
Sun, 23 Jun 2019 03:47:50 +0000 (00:47 -0300)
commit36aceb6174a6a1c40014001ff73c4c30012b569d
treea73233cae34d5f58a3dce6d8cc5cc8290ea50be2
parent70baf729b536be532ef1de9a28b584f19e62eeeb
avformat/matroskadec: Get rid of cluster size field assumption

The earlier code relied on the length of clusters always being coded on
eight bytes as was the behaviour of libavformat's Matroska muxer until
recently. But given that our own Matroska muxer now (and mkvmerge from
time immemorial) creates files that don't conform to this assumption,
it is high time to get rid of this assumption.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskadec.c