Mercurial > libavcodec.hg
diff ac3_parser.c @ 7018:885cad616170 libavcodec
add more gain levels and adjust mix level tables accordingly.
author | jbr |
---|---|
date | Sat, 07 Jun 2008 22:30:03 +0000 |
parents | b514562e0aef |
children | 81d5c68233e5 |
line wrap: on
line diff
--- a/ac3_parser.c Sat Jun 07 22:29:54 2008 +0000 +++ b/ac3_parser.c Sat Jun 07 22:30:03 2008 +0000 @@ -37,13 +37,13 @@ * Table for center mix levels * reference: Section 5.4.2.4 cmixlev */ -static const uint8_t center_levels[4] = { 2, 3, 4, 3 }; +static const uint8_t center_levels[4] = { 4, 5, 6, 5 }; /** * Table for surround mix levels * reference: Section 5.4.2.5 surmixlev */ -static const uint8_t surround_levels[4] = { 2, 4, 0, 4 }; +static const uint8_t surround_levels[4] = { 4, 6, 7, 6 }; int ff_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr)