diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-24 22:17:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-18 12:11:43 +0200 |
| commit | 7c5bd17891b2ea087db6b876112a2c1f69d6215e (patch) | |
| tree | f70e792ac5cc0438673563f737bbd053e398ea98 /src/frame_info.h | |
| parent | 2f1c9ccb8051a376eb7280b8aa722a9950221251 (diff) | |
Use J2KFrameInfo instead of FrameInfo.
Diffstat (limited to 'src/frame_info.h')
| -rw-r--r-- | src/frame_info.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frame_info.h b/src/frame_info.h index 55957cca..a49f52a9 100644 --- a/src/frame_info.h +++ b/src/frame_info.h @@ -62,6 +62,16 @@ struct FrameInfo }; +struct J2KFrameInfo : public FrameInfo +{ + J2KFrameInfo() = default; + + J2KFrameInfo(uint64_t offset_, uint64_t size_, std::string hash_) + : FrameInfo(offset_, size_, hash_) + {} +}; + + } |
