aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sapenc.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>2021-09-20 01:03:51 +0200
commit4b154743163ffbe3fdc50759c0c55dc854636488 (patch)
tree96024149cd4e0d543d621c77b33afc22191a3a29 /libavformat/sapenc.c
parent176b8d785bf7531b6eb8e3d6e8c03f75cb29de1e (diff)
downloadffmpeg-4b154743163ffbe3fdc50759c0c55dc854636488.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>
Diffstat (limited to 'libavformat/sapenc.c')
0 files changed, 0 insertions, 0 deletions