Skip to content

Commit

Permalink
flac: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Oct 19, 2021
1 parent ac7568d commit ce044ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"CLIUNICODE",
"CLLID",
"coef",
"coeff",
"Coeffs",
"colorjson",
"cond",
"cpus",
Expand Down Expand Up @@ -71,6 +73,7 @@
"localizable",
"luma",
"matroska",
"metadatablocsk",
"mfhd",
"mfra",
"mfro",
Expand Down
5 changes: 0 additions & 5 deletions format/flac/flac.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ func flacDecode(d *decode.D, in interface{}) interface{} {
}
})

_ = streamInfo
// if streamInfo.D != nil {
// md5Value := streamInfo.D.FieldGet("md5")
// d.FieldChecksumRange("md5_calculated", md5Value.Range.Start, md5Value.Range.Len, md5Samples.Sum(nil), decode.BigEndian)
// }
d.FieldValueBytes("md5_calculated", md5Samples.Sum(nil), "")
d.FieldValueU("decoded_samples", framesNDecodedSamples, "")

Expand Down

0 comments on commit ce044ba

Please sign in to comment.