diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-13 14:38:50 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-20 01:03:51 +0200 |
commit | 4b154743163ffbe3fdc50759c0c55dc854636488 (patch) | |
tree | 96024149cd4e0d543d621c77b33afc22191a3a29 /libavfilter/vf_yaepblur.c | |
parent | 176b8d785bf7531b6eb8e3d6e8c03f75cb29de1e (diff) | |
download | ffmpeg-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 'libavfilter/vf_yaepblur.c')
0 files changed, 0 insertions, 0 deletions