fix: bitrate is uint16

This commit is contained in:
Derrick Hammer 2024-03-01 03:10:20 -05:00
parent b813f8599f
commit 12f4b7cdff
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func (mmd *MediaFormat) DecodeMsgpack(dec *msgpack.Decoder) error {
case 14:
mmd.Fps = value.(int)
case 15:
mmd.Bitrate = value.(int)
mmd.Bitrate = int(value.(uint16))
case 18:
mmd.AudioChannels = value.(int)
case 19: