diff mbox series

[FFmpeg-devel,v2,142/162] avcodec/aactab: Fix conflicting types for ff_aac_codebook*

Message ID 20201120073327.820745-43-andreas.rheinhardt@gmail.com
State Accepted
Commit c4b4cd775af0f4b83c34fd595c05d2fa99018323
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
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Nov. 20, 2020, 7:33 a.m. UTC
The header missed that these are arrays of const pointers (to const
data).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/aactab.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/aactab.h b/libavcodec/aactab.h
index 7cd8128231..29df6a43f0 100644
--- a/libavcodec/aactab.h
+++ b/libavcodec/aactab.h
@@ -167,9 +167,9 @@  extern const uint16_t * const ff_aac_spectral_codes[11];
 extern const uint8_t  * const ff_aac_spectral_bits [11];
 extern const uint16_t  ff_aac_spectral_sizes[11];
 
-extern const float *ff_aac_codebook_vectors[];
-extern const float *ff_aac_codebook_vector_vals[];
-extern const uint16_t *ff_aac_codebook_vector_idx[];
+extern const float *const ff_aac_codebook_vectors[];
+extern const float *const ff_aac_codebook_vector_vals[];
+extern const uint16_t *const ff_aac_codebook_vector_idx[];
 
 extern const uint16_t * const ff_swb_offset_1024[13];
 extern const uint16_t * const ff_swb_offset_960 [13];