[FFmpeg-cvslog] avcodec/aactab: Fix conflicting types for ff_aac_codebook*

Andreas Rheinhardt git at videolan.org
Tue Nov 24 12:49:29 EET 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 19 16:50:44 2020 +0100| [c4b4cd775af0f4b83c34fd595c05d2fa99018323] | committer: Andreas Rheinhardt

avcodec/aactab: Fix conflicting types for ff_aac_codebook*

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

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4b4cd775af0f4b83c34fd595c05d2fa99018323
---

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



More information about the ffmpeg-cvslog mailing list