mirror of
https://github.com/wader/fq.git
synced 2024-12-27 07:24:48 +03:00
Merge pull request #148 from wader/mpeg-spu-fatal-on-unknown-cmd
mpeg_spu: Fatal error on unknown cmd
This commit is contained in:
commit
d5e7939274
@ -168,6 +168,8 @@ func spuDecode(d *decode.D, in interface{}) interface{} {
|
||||
size := d.FieldU16("size")
|
||||
// TODO
|
||||
d.FieldRawLen("data", int64(size)*8)
|
||||
default:
|
||||
d.Fatalf("unknown command %d", cmd)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user