fix: audiochannels is int8

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

View File

@ -103,7 +103,7 @@ func (mmd *MediaFormat) DecodeMsgpack(dec *msgpack.Decoder) error {
case 15: case 15:
mmd.Bitrate = int(value.(uint16)) mmd.Bitrate = int(value.(uint16))
case 18: case 18:
mmd.AudioChannels = value.(int) mmd.AudioChannels = int(value.(int8))
case 19: case 19:
mmd.Vcodec = value.(string) mmd.Vcodec = value.(string)
case 20: case 20: