aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/stereo3d.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-13 14:38:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-11 22:37:58 +0100
commitedaf8c961510ec7a4d83fdbd4b0986ae67ee1357 (patch)
tree0719d7cd18d376920a7792e995fcdcb87c476179 /libavutil/stereo3d.c
parent953ad7b362d6bd05669ad063cfa11e13b12c8362 (diff)
downloadffmpeg-edaf8c961510ec7a4d83fdbd4b0986ae67ee1357.tar.gz
avcodec/opus_silk: Remove wrong size information in function declaration
silk_lsp2poly()'s declaration contained arrays with array sizes; yet these array sizes exceeded the number of actually accessed array elements (which is related to another parameter) and this leads to -Wstringop-overflow= warnings from GCC 11, because the arrays provided by callers are only large enough for the actually used elements. So replace the incorrect array sizes with comments containing the correct array sizes. Given that these sizes are not compile-time constants, they can only be communicated via a comment. Reported by Paul B Mahol. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit 4b154743163ffbe3fdc50759c0c55dc854636488)
Diffstat (limited to 'libavutil/stereo3d.c')
0 files changed, 0 insertions, 0 deletions