Commit 7039045c authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

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: 's avatarDavid Bryant <david@wavpack.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent 96bf6d61
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment