fix: bitrate is uint16
This commit is contained in:
parent
b813f8599f
commit
12f4b7cdff
|
@ -101,7 +101,7 @@ func (mmd *MediaFormat) DecodeMsgpack(dec *msgpack.Decoder) error {
|
||||||
case 14:
|
case 14:
|
||||||
mmd.Fps = value.(int)
|
mmd.Fps = value.(int)
|
||||||
case 15:
|
case 15:
|
||||||
mmd.Bitrate = value.(int)
|
mmd.Bitrate = int(value.(uint16))
|
||||||
case 18:
|
case 18:
|
||||||
mmd.AudioChannels = value.(int)
|
mmd.AudioChannels = value.(int)
|
||||||
case 19:
|
case 19:
|
||||||
|
|
Loading…
Reference in New Issue