• 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
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...