As you must have noticed by now, Jenkins comes up with a few warnings when it builds. Some of them are going to be fixed in D24, but there is a "clobbered" warning in tex_png.
This stack overflow thread: http://stackoverflow.com/questions/7721854/what-sense-do-these-clobbered-variable-warnings-make explains the reason of the error.
It is fixed by rewriting encode in the same way as decode.