summaryrefslogtreecommitdiff
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:51:40 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:51:40 +0000
commit47ae6e795b64aaf29c47730cc552d48bb27a0e40 (patch)
tree528f6a8a5b5c922b0c7585be73ce62434054d5a6 /libavcodec/ac3.h
parent0454b55801eac173cf5d49bd6df8d6dceb8f7109 (diff)
define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.
Originally committed as revision 25967 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r--libavcodec/ac3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index 1840766813..a9f68dba8a 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -37,6 +37,7 @@
#define AC3_MAX_BLOCKS 6
#define AC3_FRAME_SIZE (AC3_MAX_BLOCKS * 256)
#define AC3_WINDOW_SIZE (AC3_BLOCK_SIZE * 2)
+#define AC3_CRITICAL_BANDS 50
/* exponent encoding strategy */
#define EXP_REUSE 0