Improve JPX fuzzer

This CL splits initialization into two parts so that the fuzzer can
check for enormous sizes in headers before calling the opj decoding
code.

Bug: chromium:903724
Change-Id: I1dc7095d65b55319cb748d8a24206d72dd66390d
Reviewed-on: https://pdfium-review.googlesource.com/c/45732
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
diff --git a/core/fxcodec/codec/cjpx_decoder.h b/core/fxcodec/codec/cjpx_decoder.h
index 5be4b87..940efd8 100644
--- a/core/fxcodec/codec/cjpx_decoder.h
+++ b/core/fxcodec/codec/cjpx_decoder.h
@@ -24,6 +24,7 @@
 
   bool Init(pdfium::span<const uint8_t> src_data);
   void GetInfo(uint32_t* width, uint32_t* height, uint32_t* components);
+  bool StartDecode();
   bool Decode(uint8_t* dest_buf,
               uint32_t pitch,
               const std::vector<uint8_t>& offsets);