aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Lackorzynski <adam@l4re.org>2025-02-24 22:07:53 +0100
committerMartin Storsjö <martin@martin.st>2025-03-02 01:10:38 +0200
commit76b18100177843f443276e02a9592bbae9cd09c8 (patch)
tree0005110181571a61b2b93890a3f74c79fe8fbecc
parent0245e9382c748eba91645b65a377c4c9c4a44849 (diff)
downloadffmpeg-76b18100177843f443276e02a9592bbae9cd09c8.tar.gz
libswscale/arm/swscale_unscaled: Fix function prototype
Constify dstStrice argument of rgbx_to_nv12_neon_16_wrapper to be compatible with other functions as used in function assignment. Signed-off-by: Adam Lackorzynski <adam@l4re.org> Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libswscale/arm/swscale_unscaled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/arm/swscale_unscaled.c b/libswscale/arm/swscale_unscaled.c
index 5c3074a0cd..c526ea1c50 100644
--- a/libswscale/arm/swscale_unscaled.c
+++ b/libswscale/arm/swscale_unscaled.c
@@ -50,7 +50,7 @@ static int rgbx_to_nv12_neon_32_wrapper(SwsInternal *context, const uint8_t *con
static int rgbx_to_nv12_neon_16_wrapper(SwsInternal *context, const uint8_t *const src[],
const int srcStride[], int srcSliceY, int srcSliceH,
- uint8_t *const dst[], int dstStride[]) {
+ uint8_t *const dst[], const int dstStride[]) {
rgbx_to_nv12_neon_16(src[0] + srcSliceY * srcStride[0],
dst[0] + srcSliceY * dstStride[0],