File: /api/baseapi.cpp
Function: ProcessPages()
SVN revision: 1105 - Enabled streaming input and output of multi-page documents
I noticed that in this SVN revision, quite a bit of modication was done on ProcessPages(), one of them was changing pixRead to pixReadMem.
I was using this function to create searchable PDF output and but after this revision I'm getting fatal errors when calling pixReadMem. Changing it back to pixRead works.
After some debugging, I found that the cause of the crash is inside pixReadMemJpeg (my source is a jpeg file) where there's a line fp = tmpfile() which always return NULL, therefore it crashes when calling fwrite after that.
I wonder is it because I'm running tesseract on Android device?
Thanks for listening :)