diff mbox series

[FFmpeg-devel,177/191] avcodec/sinewin: Fix wrong number of elements of array declaration

Message ID 20201123193739.1249300-15-andreas.rheinhardt@gmail.com
State Accepted
Commit 3e11a7866dc8d1849c4b485f446205d522dbd938
Headers show
Series VLC, esp. init_vlc patches
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 23, 2020, 7:37 p.m. UTC
There are actually only 14 elements in each ff_sine_windows array.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/sinewin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/sinewin.h b/libavcodec/sinewin.h
index 7b64096a71..1348740905 100644
--- a/libavcodec/sinewin.h
+++ b/libavcodec/sinewin.h
@@ -60,6 +60,6 @@  extern SINETABLE(2048);
 extern SINETABLE(4096);
 extern SINETABLE(8192);
 
-extern SINETABLE_CONST INTFLOAT * const AAC_RENAME(ff_sine_windows)[16];
+extern SINETABLE_CONST INTFLOAT * const AAC_RENAME(ff_sine_windows)[];
 
 #endif /* AVCODEC_SINEWIN_H */