png.c: exit test loop immediately when a non-gray pixel is found.

1 file changed