Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
francisdb committed Mar 12, 2024
1 parent 9b1e794 commit a80d504
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion src/vpx/renderprobe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ impl BiffRead for RenderProbeWithGarbage {
reader.disable_warn_remaining();
let render_probe = RenderProbe::biff_read(reader);
let remaining = reader.get_no_remaining_update(12);
println!("remaining {:?}", remaining);
// first part is a full ENDB tag
let endb_tag = &remaining[0..8];
if endb_tag != ENDB_TAG {
Expand Down
10 changes: 1 addition & 9 deletions tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,7 @@ fn biff_tags_and_hashes(reader: &mut BiffReader) -> Vec<(String, usize, u64)> {
// but again padding is applied that has random data
// TODO one solution could be overwriting padding areas with 0's
// For now we ignore the contents of this field
tags.push(("MATE".to_string(), data.len(), 0));
}
"RPRB" => {
let data = reader.get_record_data(false);
println!("RPRB: {:?}", data);
let mut hasher = DefaultHasher::new();
Hash::hash_slice(&data, &mut hasher);
let hash = hasher.finish();
tags.push(("RPRB".to_string(), data.len(), hash));
tags.push(("PHMA".to_string(), data.len(), 0));
}
other => {
let data = reader.get_record_data(false);
Expand Down

0 comments on commit a80d504

Please sign in to comment.