Fix formatting

This commit is contained in:
igor725 2024-04-09 19:58:25 +03:00
parent 8b5a2f4ca9
commit d06488f4de
No known key found for this signature in database
GPG Key ID: 46F13BBE46F8569D

View File

@ -167,7 +167,7 @@ EXPORT SYSV_ABI int32_t scePngDecParseHeader(const ScePngDecParseParam* param, S
png_get_IHDR(png_ptr, info_ptr, &ii->imageWidth, &ii->imageHeight, &bitdepth, &color, &inter, nullptr, &filter);
ii->imageFlag = 0;
ii->bitDepth = bitdepth;
ii->bitDepth = bitdepth;
ii->colorSpace = map_png_color(color);
if (inter == 1) ii->imageFlag |= SCE_PNG_DEC_IMAGE_FLAG_ADAM7_INTERLACE;
if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) ii->imageFlag |= SCE_PNG_DEC_IMAGE_FLAG_TRNS_CHUNK_EXIST;