fix: asr is parsed as int16
This commit is contained in:
parent
ab37004d16
commit
52c5af78a9
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue