fix: asr is parsed as int16

This commit is contained in:
Derrick Hammer 2024-03-01 03:05:11 -05:00
parent ab37004d16
commit 52c5af78a9
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ func (mmd *MediaFormat) DecodeMsgpack(dec *msgpack.Decoder) error {
case 12: case 12:
mmd.Languages = value.([]string) mmd.Languages = value.([]string)
case 13: case 13:
mmd.Asr = value.(int) mmd.Asr = int(value.(int16))
case 14: case 14:
mmd.Fps = value.(int) mmd.Fps = value.(int)
case 15: case 15: