commit | d9d70e6506cd4c168e411899465d4e4c77a50b04 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Thu Oct 17 12:09:53 2024 +0300 |
committer | Cosmin Truta <ctruta@gmail.com> | Thu Oct 17 14:18:52 2024 +0300 |
tree | d34f58382913e7b4f198417f7aad1ab6d09ddf21 | |
parent | 76e5ec217fbdc882bacc40ae3f2276d28507c341 [diff] |
[libpng16] refactor: Deduplicate the interlace arrays `png_pass_*` Move the definitions of interlace arrays to the top of their respective translation units, to reduce their repeated copying in various places of the codebase. TODO: As they still exist in three copies, in pngpread.c, in pngrutil.c, and in pngwutil.c, they should all be further moved to a common place. This is a cherry-pick of commit 620a2b73b22df66ed099e1faacac2d92f48252b7 from branch 'libpng18'.