Imported from libpng-1.2.22beta1.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-10-04 15:33:53 -05:00
parent 42ae02aa08
commit 582fec4e11
50 changed files with 185 additions and 118 deletions

View File

@@ -1082,7 +1082,7 @@ png_permit_empty_plte (png_structp png_ptr, int empty_plte_permitted)
if (png_ptr == NULL)
return;
png_ptr->mng_features_permitted = (png_byte)
((png_ptr->mng_features_permitted & (~(PNG_FLAG_MNG_EMPTY_PLTE))) |
((png_ptr->mng_features_permitted & (~PNG_FLAG_MNG_EMPTY_PLTE)) |
((empty_plte_permitted & PNG_FLAG_MNG_EMPTY_PLTE)));
}
#endif