]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/atrac3data.h
Factorise enum of AC3 error types to be usable by AAC in the ADTS patch that
[ffmpeg] / libavcodec / atrac3data.h
index 0017d60c06566d108b672ac88512ab7d2e80f018..ff9ada8753efee9a7008ea540ba07bc1852a33ff 100644 (file)
  * Atrac 3 AKA RealAudio 8 compatible decoder data
  */
 
+#ifndef AVCODEC_ATRAC3DATA_H
+#define AVCODEC_ATRAC3DATA_H
+
+#include <stdint.h>
+
 /* VLC tables */
 
 static const uint8_t huffcode1[9] = {
@@ -92,11 +97,11 @@ static const uint8_t huff_tab_sizes[7] = {
   9, 5, 7, 9, 15, 31, 63,
 };
 
-static const uint8_t* huff_codes[7] = {
+static const uint8_t* const huff_codes[7] = {
   huffcode1,huffcode2,huffcode3,huffcode4,huffcode5,huffcode6,huffcode7,
 };
 
-static const uint8_t* huff_bits[7] = {
+static const uint8_t* const huff_bits[7] = {
   huffbits1,huffbits2,huffbits3,huffbits4,huffbits5,huffbits6,huffbits7,
 };
 
@@ -131,3 +136,5 @@ static const float qmf_48tap_half[24] = {
 
 /* joint stereo related tables */
 static const float matrixCoeffs[8] = {0.0, 2.0, 2.0, 2.0, 0.0, 0.0, 1.0, 1.0};
+
+#endif /* AVCODEC_ATRAC3DATA_H */