diff --git a/format/mpeg/mpeg_spu.go b/format/mpeg/mpeg_spu.go index a645e7a8..abd34bc3 100644 --- a/format/mpeg/mpeg_spu.go +++ b/format/mpeg/mpeg_spu.go @@ -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) } }) }