I tested libraw with database from rawsample.ch. test means read and idsplay image. Good new all images (except one) are readable and can be display : Great works
Image with problem is http://www.rawsamples.ch/raws/samsung/RAW_SAMSUNG_NX500N_12BIT.SRW
may be file is dammaged I don't know
Cannot unpack RAW_SAMSUNG_NX500N_12BIT.SRW: Input/output error
This file looks damaged: it
This file looks damaged: it contents does not pass bounds checks in samsung3_load_raw; disabling this checks not results into correct image.
All other samples from Samsung NX500 camera we have are processed OK.
-- Alex Tutubalin @LibRaw LLC