aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-06-16 22:58:43 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-16 22:58:43 +0000
commitc2d08dc0d78e85e6a45abb33e587b8a66a2de754 (patch)
tree20cea5fcc8aa1f191fcb3206819aedc35fecd0b6 /libavcodec/mpegaudiodec.c
parent41e4c556e93156cab184e5af9b246a4cf07c54ab (diff)
downloadffmpeg-c2d08dc0d78e85e6a45abb33e587b8a66a2de754.tar.gz
move a couple of macros and structs to mpegaudio.h
Originally committed as revision 9343 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 9e8472f561..f2eb84108f 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -46,9 +46,6 @@
#include "mathops.h"
-#define FRAC_ONE (1 << FRAC_BITS)
-
-#define FIX(a) ((int)((a) * FRAC_ONE))
/* WARNING: only correct for posititive numbers */
#define FIXR(a) ((int)((a) * FRAC_ONE + 0.5))
#define FRAC_RND(a) (((a) + (FRAC_ONE/2)) >> FRAC_BITS)
@@ -91,13 +88,6 @@ typedef struct GranuleDef {
#define MODE_EXT_MS_STEREO 2
#define MODE_EXT_I_STEREO 1
-/* layer 3 huffman tables */
-typedef struct HuffTable {
- int xsize;
- const uint8_t *bits;
- const uint16_t *codes;
-} HuffTable;
-
#include "mpegaudiodata.h"
#include "mpegaudiodectab.h"