Add new comment

A long piece of code, 2/3 of

A long piece of code, 2/3 of which is some kind of debugging or verification stuff or comments, and the question "what's wrong here" is clearly not a question for LibRaw support.

We do not know. Too much extra details not related to the question itself.

Try asking your question in 20 times more compact form, in this case there is at least a chance that a person (and not a compiler or debugger) will understand at first glance what is written (and what is wrong).

-- Alex Tutubalin @LibRaw LLC