LIBRAW_OWN_SWAB is now LIBRAW_OWN_SWAB is now default for non-Windows/non-Mac platforms (on Windows and Mac swab on same input/output buffer is known to work OK). LibRaw 0.22-preRC1 is available on our Github: https://www.libraw.org/news/libraw-022-prerc1 -- Alex Tutubalin @LibRaw LLC reply
LIBRAW_OWN_SWAB is now default for non-Windows/non-Mac platforms (on Windows and Mac swab on same input/output buffer is known to work OK).
LibRaw 0.22-preRC1 is available on our Github: https://www.libraw.org/news/libraw-022-prerc1