aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/concatdec.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-05-24 20:17:10 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-05-25 10:31:50 +0300
commitf8837465875205207bd281ecad9e4b9a12638c7e (patch)
treec470322668b5efbec0f4df7285734e81f4e03ca7 /libavformat/concatdec.c
parentaff24c165827ad05d720491b4a96dbf6a61f4937 (diff)
downloadffmpeg-f8837465875205207bd281ecad9e4b9a12638c7e.tar.gz
lavc/flacdsp: do not assume maximum R-V VL
This loop correctly assumes that VLMAX=16 (4x128-bit vectors with 32-bit elements) and 32 >= pred_order > 16. We need to alternate between VL=16 and VL=t2=pred_order-16 elements to add up to pred_order. The current code requests AVL=a2=pred_order elements. In QEMU and on thte K230 hardware, this sets VL=16 as we need. But the specification merely guarantees that we get: ceil(AVL / 2) <= VL <= VLMAX. For instance, if pred_order equals 27, we could end up with VL=14 or VL=15 instead of VL=16. So instead, request literally VLMAX=16.
Diffstat (limited to 'libavformat/concatdec.c')
0 files changed, 0 insertions, 0 deletions