X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fmpegaudiodectab.h;h=accd12b8e2d8bda482725e39bcc08038079d70d5;hb=c137fdd778e1bb82c2f0d7fa4a88adc97058d6d4;hp=234a70e47495cf2249a9e5304372895920e91621;hpb=b97b4b58a6e1ac595002b3e3f3469161771c6003;p=ffmpeg diff --git a/libavcodec/mpegaudiodectab.h b/libavcodec/mpegaudiodectab.h index 234a70e4749..accd12b8e2d 100644 --- a/libavcodec/mpegaudiodectab.h +++ b/libavcodec/mpegaudiodectab.h @@ -27,12 +27,21 @@ #ifndef AVCODEC_MPEGAUDIODECTAB_H #define AVCODEC_MPEGAUDIODECTAB_H +#include #include + #include "mpegaudio.h" /*******************************************************/ /* layer 3 tables */ +/* layer 3 huffman tables */ +typedef struct HuffTable { + int xsize; + const uint8_t *bits; + const uint16_t *codes; +} HuffTable; + /* layer3 scale factor size */ static const uint8_t slen_table[2][16] = { { 0, 0, 0, 0, 3, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4 },