[FFmpeg-cvslog] r9783 - trunk/libavcodec/ac3dec.c
jbr
subversion
Tue Jul 24 03:43:47 CEST 2007
Author: jbr
Date: Tue Jul 24 03:43:47 2007
New Revision: 9783
Log:
only use sized data types when necessary
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c (original)
+++ trunk/libavcodec/ac3dec.c Tue Jul 24 03:43:47 2007
@@ -88,35 +88,35 @@ static const float slevs[4] = { LEVEL_MI
#define AC3_OUTPUT_LFEON 0x10
typedef struct {
- uint8_t acmod;
- uint8_t cmixlev;
- uint8_t surmixlev;
- uint8_t dsurmod;
+ int acmod;
+ int cmixlev;
+ int surmixlev;
+ int dsurmod;
- uint8_t blksw[AC3_MAX_CHANNELS];
- uint8_t dithflag[AC3_MAX_CHANNELS];
- uint8_t cplinu;
- uint8_t chincpl[AC3_MAX_CHANNELS];
- uint8_t phsflginu;
- uint8_t cplbegf;
- uint8_t cplendf;
- uint8_t cplcoe;
+ int blksw[AC3_MAX_CHANNELS];
+ int dithflag[AC3_MAX_CHANNELS];
+ int cplinu;
+ int chincpl[AC3_MAX_CHANNELS];
+ int phsflginu;
+ int cplbegf;
+ int cplendf;
+ int cplcoe;
uint32_t cplbndstrc;
- uint8_t rematstr;
- uint8_t rematflg[AC3_MAX_CHANNELS];
- uint8_t cplexpstr;
- uint8_t lfeexpstr;
- uint8_t chexpstr[5];
- uint8_t csnroffst;
- uint8_t cplfsnroffst;
- uint8_t cplfgaincod;
- uint8_t fsnroffst[5];
- uint8_t fgaincod[5];
- uint8_t lfefsnroffst;
- uint8_t lfefgaincod;
- uint8_t cpldeltbae;
- uint8_t deltbae[5];
- uint8_t cpldeltnseg;
+ int rematstr;
+ int rematflg[AC3_MAX_CHANNELS];
+ int cplexpstr;
+ int lfeexpstr;
+ int chexpstr[5];
+ int csnroffst;
+ int cplfsnroffst;
+ int cplfgaincod;
+ int fsnroffst[5];
+ int fgaincod[5];
+ int lfefsnroffst;
+ int lfefgaincod;
+ int cpldeltbae;
+ int deltbae[5];
+ int cpldeltnseg;
uint8_t cpldeltoffst[8];
uint8_t cpldeltlen[8];
uint8_t cpldeltba[8];
More information about the ffmpeg-cvslog
mailing list