Skip to content
Snippets Groups Projects
Commit d44e5a57 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

mqascan: print unique labels for unknown fields

parent fc06d761
No related branches found
No related tags found
No related merge requests found
......@@ -104,8 +104,8 @@ static const struct bitfield datasync_fields[] = {
{ 5, BF_HEX, "orig_rate", mqa_rates },
{ 5, BF_HEX, "src_rate", mqa_rates },
{ 5, 0, "render_filter" },
{ 5, BF_HEX, "unknown" },
{ 1, 0, "unknown" },
{ 5, BF_HEX, "unknown_1" },
{ 1, 0, "unknown_2" },
{ 2, 0, "pad" },
{ 8, BF_HEX, "mqa_level" },
{ 7, BF_RET, "items" },
......@@ -138,10 +138,10 @@ static int handle_datasync(struct bitreader *b, unsigned ptype)
print_verbose(1, "%10s[type %d]\n", "", type[i]);
switch (type[i]) {
case 0:
print_field(b, 2, 0, "unknown", NULL);
print_field(b, 4, 0, "unknown", NULL);
print_field(b, 7, 0, "unknown", NULL);
print_field(b, 7, 0, "unknown", NULL);
print_field(b, 2, 0, "unknown_3", NULL);
print_field(b, 4, 0, "unknown_4", NULL);
print_field(b, 7, 0, "unknown_5", NULL);
print_field(b, 7, 0, "unknown_6", NULL);
if (stream_pos_flag) {
print_field(b, 27, BF_HEX, "start_offset",
NULL);
......@@ -157,7 +157,7 @@ static int handle_datasync(struct bitreader *b, unsigned ptype)
default:
print_field(b, size[i],
BF_HEX | (size[i] > 32 ? BF_DATA : 0),
"unknown", NULL);
"unknown_7", NULL);
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment