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/mips/h264idct_msa.c | |
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/mips/h264idct_msa.c')
-rw-r--r-- | libavcodec/mips/h264idct_msa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mips/h264idct_msa.c b/libavcodec/mips/h264idct_msa.c index fbf7795e27..1a20a3e30e 100644 --- a/libavcodec/mips/h264idct_msa.c +++ b/libavcodec/mips/h264idct_msa.c @@ -347,7 +347,7 @@ void ff_h264_idct8_dc_addblk_msa(uint8_t *dst, int16_t *src, void ff_h264_idct_add16_msa(uint8_t *dst, const int32_t *blk_offset, int16_t *block, int32_t dst_stride, - const uint8_t nzc[15 * 8]) + const uint8_t nzc[5 * 8]) { int32_t i; @@ -369,7 +369,7 @@ void ff_h264_idct_add16_msa(uint8_t *dst, void ff_h264_idct8_add4_msa(uint8_t *dst, const int32_t *blk_offset, int16_t *block, int32_t dst_stride, - const uint8_t nzc[15 * 8]) + const uint8_t nzc[5 * 8]) { int32_t cnt; @@ -448,7 +448,7 @@ void ff_h264_idct_add16_intra_msa(uint8_t *dst, const int32_t *blk_offset, int16_t *block, int32_t dst_stride, - const uint8_t nzc[15 * 8]) + const uint8_t nzc[5 * 8]) { int32_t i; |