diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-09-07 18:06:14 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-09-07 18:06:39 +0200 |
| commit | 27e02a1541db180e3d4260732461a080dab593a1 (patch) | |
| tree | 85b14e9d0937a3c8c615c2c3ddc6644b0c58768a /png/arm | |
| parent | 1182cd66ec66cc317af2db44d21c2e56b99536e8 (diff) | |
Update bundled libpng to version 1.6.50 dated 2025-07-01
Diffstat (limited to 'png/arm')
| -rw-r--r-- | png/arm/arm_init.c | 9 | ||||
| -rw-r--r-- | png/arm/filter_neon_intrinsics.c | 1 | ||||
| -rw-r--r-- | png/arm/palette_neon_intrinsics.c | 3 |
3 files changed, 5 insertions, 8 deletions
diff --git a/png/arm/arm_init.c b/png/arm/arm_init.c index 84d05556f..0ea9c836c 100644 --- a/png/arm/arm_init.c +++ b/png/arm/arm_init.c @@ -1,4 +1,3 @@ - /* arm_init.c - NEON optimised filter functions * * Copyright (c) 2018-2022 Cosmin Truta @@ -36,14 +35,14 @@ #ifndef PNG_ARM_NEON_FILE # if defined(__aarch64__) || defined(_M_ARM64) /* ARM Neon is expected to be unconditionally available on ARM64. */ -# error "PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on ARM64" +# error PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on ARM64 # elif defined(__ARM_NEON__) || defined(__ARM_NEON) /* ARM Neon is expected to be available on the target CPU architecture. */ -# error "PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on this CPU arch" +# error PNG_ARM_NEON_CHECK_SUPPORTED must not be defined on this CPU arch # elif defined(__linux__) # define PNG_ARM_NEON_FILE "contrib/arm-neon/linux.c" # else -# error "No support for run-time ARM Neon checking; use compile-time options" +# error No support for run-time ARM Neon checking; use compile-time options # endif #endif @@ -54,7 +53,7 @@ static int png_have_neon(png_structp png_ptr); #endif /* PNG_ARM_NEON_CHECK_SUPPORTED */ #ifndef PNG_ALIGNED_MEMORY_SUPPORTED -# error "ALIGNED_MEMORY is required; set: -DPNG_ALIGNED_MEMORY_SUPPORTED" +# error ALIGNED_MEMORY is required; please define PNG_ALIGNED_MEMORY_SUPPORTED #endif void diff --git a/png/arm/filter_neon_intrinsics.c b/png/arm/filter_neon_intrinsics.c index 4466d48b2..7c3e0da4d 100644 --- a/png/arm/filter_neon_intrinsics.c +++ b/png/arm/filter_neon_intrinsics.c @@ -1,4 +1,3 @@ - /* filter_neon_intrinsics.c - NEON optimised filter functions * * Copyright (c) 2018 Cosmin Truta diff --git a/png/arm/palette_neon_intrinsics.c b/png/arm/palette_neon_intrinsics.c index 92c7d6f9f..3068e9b6e 100644 --- a/png/arm/palette_neon_intrinsics.c +++ b/png/arm/palette_neon_intrinsics.c @@ -1,4 +1,3 @@ - /* palette_neon_intrinsics.c - NEON optimised palette expansion functions * * Copyright (c) 2018-2019 Cosmin Truta @@ -64,7 +63,7 @@ png_do_expand_palette_rgba8_neon(png_structrp png_ptr, png_row_infop row_info, { png_uint_32 row_width = row_info->width; const png_uint_32 *riffled_palette = - (const png_uint_32 *)png_ptr->riffled_palette; + png_aligncastconst(png_const_uint_32p, png_ptr->riffled_palette); const png_uint_32 pixels_per_chunk = 4; png_uint_32 i; |
