No-no-no No-no-no load_raw() uses preallocated buffer (unles OWNALLOC specified in decoder flags). Again: imgdata.image[] is allocated and populated in raw2image() or raw2image_ex() calls. imgdata.rawdata.* pointers are initialized in unpack() call. -- Alex Tutubalin @LibRaw LLC reply
No-no-no
load_raw() uses preallocated buffer (unles OWNALLOC specified in decoder flags).
Again:
imgdata.image[] is allocated and populated in raw2image() or raw2image_ex() calls.
imgdata.rawdata.* pointers are initialized in unpack() call.