Andreas Rheinhardt 048bc3fe31 avformat/matroskadec: Add a workaround for missing WavPack extradata
mkvmerge versions 6.2 to 40.0 had a bug that made it not propagate the
WavPack extradata (containing the WavPack version) during remuxing from
a Matroska file; currently our demuxer would treat every WavPack block
encountered as invalid data (unless the WavPack stream is to be
discarded (i.e. the streams discard is >= AVDISCARD_ALL)) and try to
resync to the next level 1 element.

Luckily, the WavPack version is currently not really important; so we
fix this problem by assuming a version. David Bryant, the creator of
WavPack, recommended using version 0x410 (the most recent version) for
this. And this is what this commit does.

A FATE-test for this has been added.

Reviewed-by: David Bryant <david@wavpack.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-02 07:12:01 +02:00
..
2020-03-10 20:22:32 +01:00
2019-04-19 01:11:39 +02:00
2019-06-10 09:44:11 +10:00
2019-11-29 18:58:42 -03:00
2019-04-19 01:11:39 +02:00
2018-10-23 15:46:30 +01:00
2019-04-19 01:11:39 +02:00
2018-02-02 12:16:56 -03:00
2018-11-28 10:26:07 +01:00
2017-08-31 02:53:11 +02:00
2017-10-02 21:42:34 -03:00
2017-08-03 16:36:02 -03:00
2019-08-13 10:46:20 +08:00