diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-14 14:50:34 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-14 14:50:34 +0000 |
commit | 7066cc8f2b29ac5851b4f74e353b34bf0251bd8b (patch) | |
tree | 82ff8e371c8949f1a786819ad9d9bccd7fe09a2d /libavcodec/ac3.h | |
parent | a657899cf71ef13e868bf1173547184e386ae528 (diff) | |
download | ffmpeg-7066cc8f2b29ac5851b4f74e353b34bf0251bd8b.tar.gz |
cosmetics: use better (and shared) macro names for some constant values
Originally committed as revision 25950 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r-- | libavcodec/ac3.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h index 9c8dc4870e..7cfa51a0c6 100644 --- a/libavcodec/ac3.h +++ b/libavcodec/ac3.h @@ -32,8 +32,10 @@ #define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */ #define AC3_MAX_CHANNELS 6 /* including LFE channel */ -#define NB_BLOCKS 6 /* number of PCM blocks inside an AC-3 frame */ -#define AC3_FRAME_SIZE (NB_BLOCKS * 256) +#define AC3_MAX_COEFS 256 +#define AC3_BLOCK_SIZE 256 +#define AC3_MAX_BLOCKS 6 +#define AC3_FRAME_SIZE (AC3_MAX_BLOCKS * 256) /* exponent encoding strategy */ #define EXP_REUSE 0 |