ffmpeg/libavcodec/ppc
Andreas Rheinhardt bed04417b4
avcodec/ppc/vp8dsp_altivec: Fix out-of-bounds access
h_subpel_filters_inner[i] and h_subpel_filters_outer[i / 2]
belong together and the former allows the range 0..6,
so the latter needs to support 0..3. But it has only three
elements. Add another one.
The value for the last element has been guesstimated
from subpel_filters in libavcodec/vp8dsp.c.

This is also intended to fix FATE-failures with UBSan here:
https://fate.ffmpeg.org/report.cgi?time=20240312011016&slot=ppc-linux-gcc-13.2-ubsan-altivec-qemu

Tested-by: Sean McGovern <gseanmcg@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
(cherry picked from commit 09e6840cf7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2025-08-04 17:10:09 +02:00
..
asm.S
audiodsp.c
blockdsp.c
fdct.h
fdctdsp.c avcodec/dct: Move fdct function declarations to fdctdsp.h 2023-07-29 04:16:59 +02:00
fmtconvert_altivec.c avcodec/fmtconvert: Remove unused AVCodecContext parameter 2022-09-21 20:26:40 +02:00
h264chroma_init.c
h264chroma_template.c
h264dsp.c
h264qpel.c
h264qpel_template.c
hevcdsp.c
hevcdsp_template.c
hpeldsp_altivec.c
hpeldsp_altivec.h
idctdsp.c avcodec/idctdsp: Avoid inclusion of avcodec.h 2023-09-11 00:26:34 +02:00
lossless_audiodsp_altivec.c
lossless_videodsp_altivec.c
Makefile avcodec: Remove DCT, FFT, MDCT and RDFT 2023-10-01 02:25:09 +02:00
mathops.h
me_cmp.c
mpeg4videodsp.c avcodec/mpegvideodsp: Make MpegVideoDSP MPEG-4 only 2022-10-20 07:56:17 +02:00
mpegaudiodsp_altivec.c avutil/mem: Don't include avutil.h 2023-09-07 00:42:10 +02:00
mpegvideo_altivec.c
mpegvideoencdsp.c
pixblockdsp.c
svq1enc_altivec.c avcodec/svq1enc: Add SVQ1EncDSPContext, make codec context private 2022-10-14 16:14:24 +02:00
vc1dsp_altivec.c
videodsp.c
vorbisdsp_altivec.c
vp3dsp_altivec.c
vp8dsp_altivec.c avcodec/ppc/vp8dsp_altivec: Fix out-of-bounds access 2025-08-04 17:10:09 +02:00