diff mpegaudiodec.c @ 5161:94c3f01c243c libavcodec

move a couple of macros and structs to mpegaudio.h
author mru
date Sat, 16 Jun 2007 22:58:43 +0000
parents bff60ecc02f9
children 9f8219a3b86f
line wrap: on
line diff
--- a/mpegaudiodec.c	Sat Jun 16 19:54:04 2007 +0000
+++ b/mpegaudiodec.c	Sat Jun 16 22:58:43 2007 +0000
@@ -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 @@
 #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"