There is a bracket missing in line 799 in ImageIO.cpp
It should be
memset(text, 0, count * sizeof(png_text));
instead of
memset(text, 0, count * sizeof(png_text);
Due to a const-char* to char* conversion further down, the code won't compile.
But it compiles and executes just fine, after applying this hack:
text[i].key = (char*)(void*)tags[2 * i + 0];
text[i].text = (char*)(void*)tags[2 * i + 1];
Original issue reported on code.google.com by eod...@gmail.com on 10 Apr 2012 at 12:36
Original issue reported on code.google.com by
eod...@gmail.com
on 10 Apr 2012 at 12:36