• Andreas Rheinhardt's avatar
    avformat/matroskadec: Add a workaround for missing WavPack extradata · 048bc3fe
    Andreas Rheinhardt authored
    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: 's avatarDavid Bryant <david@wavpack.com>
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    048bc3fe
Name
Last commit
Last update
..
api Loading commit data...
checkasm Loading commit data...
dnn Loading commit data...
fate Loading commit data...
filtergraphs Loading commit data...
ref Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
audiomatch.c Loading commit data...
base64.c Loading commit data...
copycooker.sh Loading commit data...
extended.ffconcat Loading commit data...
fate-run.sh Loading commit data...
fate-valgrind.supp Loading commit data...
fate.sh Loading commit data...
md5.sh Loading commit data...
refcmp-metadata.awk Loading commit data...
reference.pnm Loading commit data...
rotozoom.c Loading commit data...
simple1.ffconcat Loading commit data...
simple2.ffconcat Loading commit data...
test.ffmeta Loading commit data...
tiny_psnr.c Loading commit data...
tiny_ssim.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...