avformat/matroskaenc: Update the default version of WavPack

The Matroska muxer currently assumed WavPack version 4.03 in case it was
not explicitly signalled via extradata; but following a recommendation
from David Bryant, the WavPack creator, this is changed to 4.10.

Reviewed-by: David Bryant <david@wavpack.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2019-12-14 02:47:13 +01:00
parent 96bf6d61e2
commit 7039045c56
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ static int put_wv_codecpriv(AVIOContext *pb, AVCodecParameters *par)
if (par->extradata && par->extradata_size == 2)
avio_write(pb, par->extradata, 2);
else
avio_wl16(pb, 0x403); // fallback to the version mentioned in matroska specs
avio_wl16(pb, 0x410); // fallback to the most recent version
return 0;
}