This modified version of libpng code adds animated PNG support and is
released under the same license as the upstream library. The modifications
are Copyright (c) 2006-2007 Andrew Smith, Copyright (c) 2008-2023 Max Stepin,
and are delimited by "#ifdef PNG_APNG_SUPPORTED / #endif" directives
surrounding them in the modified libpng source files.

You can get it from:
https://sourceforge.net/projects/apng/files/libpng/libpng16/
https://sourceforge.net/projects/libpng-apng/files/libpng16/
https://hg.mozilla.org/mozilla-central/file/tip/media/libpng/apng.patch

