diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-06 18:40:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-06 18:40:47 +0000 |
| commit | 765c9bb92c06480705e451e8fe2c6684f42156e3 (patch) | |
| tree | b99c146a709c1b889b703f6b99561aedcf36dab6 /src/data.h | |
| parent | 3bdf34970b512a6421d3251f8c66f285aee0e1d0 (diff) | |
Fix extra data returned from compress_j2k. Take advantage of openjp2's cinema parameter setup code.
Diffstat (limited to 'src/data.h')
| -rw-r--r-- | src/data.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -48,8 +48,13 @@ public: return _size; } + void set_size (int s) { + _size = s; + } + private: boost::shared_array<uint8_t> _data; + /** amount of `valid' data in _data; the array may be larger */ int _size; }; |
