decoder/dsdiff: use PackedBE64 instead of DffDsdUint64

This commit is contained in:
Max Kellermann
2023-03-12 20:21:37 +01:00
parent 02296adbba
commit c472046cbb
2 changed files with 3 additions and 14 deletions

View File

@@ -22,13 +22,13 @@
struct DsdiffHeader {
DsdId id;
DffDsdUint64 size;
PackedBE64 size;
DsdId format;
};
struct DsdiffChunkHeader {
DsdId id;
DffDsdUint64 size;
PackedBE64 size;
/**
* Read the "size" attribute from the specified header, converting it
@@ -36,7 +36,7 @@ struct DsdiffChunkHeader {
*/
[[nodiscard]] constexpr
uint64_t GetSize() const {
return size.Read();
return size;
}
/**