1
1
mirror of https://github.com/wader/fq.git synced 2024-12-26 15:02:28 +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:
Mattias Wadman 2022-02-12 16:16:46 +01:00 committed by GitHub
commit d5e7939274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
})
}