diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-06 20:35:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-08 17:44:57 +0200 |
commit | afc95a10aca6beed64531b6eb9df390eea50ded4 (patch) | |
tree | b5beb0f3914e2ad20d22c1d92ee752a8a799e6fe /libavcodec/ppc | |
parent | ab97d163b667f4d1f1556213ae9bc1520c18780e (diff) | |
download | ffmpeg-afc95a10aca6beed64531b6eb9df390eea50ded4.tar.gz |
avcodec/h264dsp, h264idct: Fix lengths of array parameters
Fixes many -Warray-parameter warnings from GCC 11.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/h264dsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ppc/h264dsp.c b/libavcodec/ppc/h264dsp.c index 779092fd76..c02733dda2 100644 --- a/libavcodec/ppc/h264dsp.c +++ b/libavcodec/ppc/h264dsp.c @@ -328,7 +328,7 @@ static void h264_idct8_dc_add_altivec(uint8_t *dst, int16_t *block, int stride) static void h264_idct_add16_altivec(uint8_t *dst, const int *block_offset, int16_t *block, int stride, - const uint8_t nnzc[15 * 8]) + const uint8_t nnzc[5 * 8]) { int i; for(i=0; i<16; i++){ @@ -342,7 +342,7 @@ static void h264_idct_add16_altivec(uint8_t *dst, const int *block_offset, static void h264_idct_add16intra_altivec(uint8_t *dst, const int *block_offset, int16_t *block, int stride, - const uint8_t nnzc[15 * 8]) + const uint8_t nnzc[5 * 8]) { int i; for(i=0; i<16; i++){ @@ -353,7 +353,7 @@ static void h264_idct_add16intra_altivec(uint8_t *dst, const int *block_offset, static void h264_idct8_add4_altivec(uint8_t *dst, const int *block_offset, int16_t *block, int stride, - const uint8_t nnzc[15 * 8]) + const uint8_t nnzc[5 * 8]) { int i; for(i=0; i<16; i+=4){ |