mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +00:00
Actually support no apng patch
This commit is contained in:
parent
7e77e0c429
commit
9d85c2e064
1 changed files with 4 additions and 0 deletions
|
@ -279,7 +279,11 @@ apng_set_set_acTL_fn (png_structp pngp, apng_infop ainfop,
|
||||||
{
|
{
|
||||||
(void)pngp;
|
(void)pngp;
|
||||||
if (!ainfop->set_acTL_fn)
|
if (!ainfop->set_acTL_fn)
|
||||||
|
#ifndef PNG_WRITE_APNG_SUPPORTED
|
||||||
|
ainfop->set_acTL_fn = &apng_set_acTL_dummy;
|
||||||
|
#else
|
||||||
ainfop->set_acTL_fn = &png_set_acTL;
|
ainfop->set_acTL_fn = &png_set_acTL;
|
||||||
|
#endif/* PNG_WRITE_APNG_SUPPORTED */
|
||||||
else
|
else
|
||||||
ainfop->set_acTL_fn = set_acTL_f;
|
ainfop->set_acTL_fn = set_acTL_f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue