aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodectab.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-17 14:22:25 +0100
committerMans Rullgard <mans@mansr.com>2011-05-19 12:25:36 +0100
commit918d0584a452bf76264e717006f2cfc40b0de21f (patch)
tree682a0a05656cd855f36753db469ab961ac62a089 /libavcodec/mpegaudiodectab.h
parentc4f5c2d6f4ffa3f4b56555059000208a6ba47b55 (diff)
downloadffmpeg-918d0584a452bf76264e717006f2cfc40b0de21f.tar.gz
mpegaudio: move some struct definitions from mpegaudio.h
These structs are only used in mpegaudiodec.c, so move them there and remove no longer needed #include lines from mpegaudio.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegaudiodectab.h')
-rw-r--r--libavcodec/mpegaudiodectab.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodectab.h b/libavcodec/mpegaudiodectab.h
index fdcf83fb88..041d1860b7 100644
--- a/libavcodec/mpegaudiodectab.h
+++ b/libavcodec/mpegaudiodectab.h
@@ -33,6 +33,13 @@
/*******************************************************/
/* 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 },