diff options
Diffstat (limited to 'lib/jxl/enc_toc.cc')
-rw-r--r-- | lib/jxl/enc_toc.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/jxl/enc_toc.cc b/lib/jxl/enc_toc.cc index c877b0c..8ec659d 100644 --- a/lib/jxl/enc_toc.cc +++ b/lib/jxl/enc_toc.cc @@ -7,10 +7,9 @@ #include <stdint.h> -#include "lib/jxl/aux_out_fwd.h" +#include "lib/jxl/base/common.h" #include "lib/jxl/coeff_order.h" -#include "lib/jxl/coeff_order_fwd.h" -#include "lib/jxl/common.h" +#include "lib/jxl/enc_aux_out.h" #include "lib/jxl/enc_coeff_order.h" #include "lib/jxl/field_encodings.h" #include "lib/jxl/fields.h" @@ -39,7 +38,7 @@ Status WriteGroupOffsets(const std::vector<BitWriter>& group_codes, JXL_RETURN_IF_ERROR(U32Coder::Write(kTocDist, group_size, writer)); } writer->ZeroPadToByte(); // before first group - ReclaimAndCharge(writer, &allotment, kLayerTOC, aux_out); + allotment.ReclaimAndCharge(writer, kLayerTOC, aux_out); return true; } |