That looks like a correction of an obvious typo.

The scenario isn't tested; the libpng test programs all look at the final output, not the intermediate output and, in practice, most user scenarios do the same because the intermediate images flash past too fast to be seen!

Obviously it *should* be tested, but then, testing things isn't fashionable.
John Bowler