aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/ac3.c
diff options
context:
space:
mode:
authorJustin Ruggles2007-07-15 01:31:09 +0000
committerJustin Ruggles2007-07-15 01:31:09 +0000
commitcc2a8443eb0501d5be2656a1a0885d96c92400b9 (patch)
tree132b1bf0f56b3f7f6fdf46866ec2ac548930e8a4 /libavcodec/ac3.c
parentcb503702ee1db066389089840ab97c69e6e0a8dd (diff)
move some common values to ac3.h and utilize them
Originally committed as revision 9679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.c')
-rw-r--r--libavcodec/ac3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3.c b/libavcodec/ac3.c
index e55f7d86a2..e33cbfe9da 100644
--- a/libavcodec/ac3.c
+++ b/libavcodec/ac3.c
@@ -154,7 +154,7 @@ void ff_ac3_bit_alloc_calc_mask(AC3BitAllocParameters *s, int16_t *bndpsd,
/* delta bit allocation */
- if (deltbae == 0 || deltbae == 1) {
+ if (deltbae == DBA_REUSE || deltbae == DBA_NEW) {
int band, seg, delta;
band = 0;
for (seg = 0; seg < deltnseg; seg++) {