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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Nov 20 09:33:07 EET 2020


The header missed that these are arrays of const pointers (to const
data).

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

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];
-- 
2.25.1



More information about the ffmpeg-devel mailing list