1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavformat
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-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2020-03-17 16:08:13 +01:00
2019-12-12 19:25:33 +01:00
2020-03-17 22:46:36 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-08-13 15:38:57 +02:00
2020-03-17 16:05:49 +01:00
2019-12-25 22:10:47 +01:00
2019-12-12 19:25:33 +01:00
2020-03-17 16:04:42 +01:00
2020-03-17 16:08:13 +01:00
2019-12-11 16:24:16 +01:00
2020-02-15 10:55:33 +01:00
2020-03-17 16:08:13 +01:00
2019-12-12 19:25:33 +01:00
2019-10-08 13:47:16 +08:00
2019-12-12 19:25:33 +01:00
2020-02-25 19:57:16 +01:00
2019-12-12 19:25:33 +01:00
2019-09-27 12:15:50 +02:00
2020-03-14 22:07:27 +01:00
2020-03-17 22:46:36 +01:00
2019-12-12 19:25:33 +01:00
2020-02-16 12:54:57 +01:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2019-03-20 18:38:48 +01:00
2020-03-17 22:46:36 +01:00
2019-12-12 19:25:33 +01:00
2020-03-08 19:08:04 +01:00
2020-03-17 16:08:13 +01:00
2020-02-20 14:41:26 +01:00
2020-03-12 18:47:39 +01:00
2020-03-26 02:39:14 +01:00