mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
96bf6d61e2
commit
7039045c56
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue