[FFmpeg-soc] [soc]: r3679 - eac3/eac3dec.c

jbr subversion at mplayerhq.hu
Sun Aug 31 01:01:41 CEST 2008


Author: jbr
Date: Sun Aug 31 01:01:40 2008
New Revision: 3679

Log:
compare to 17 instead of end_bap since end_bap is always 17 for EAC3_GAQ_124

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Sun Aug 31 01:01:40 2008
@@ -102,7 +102,7 @@ void ff_eac3_decode_transform_coeffs_aht
         /* read 1.67-bit GAQ gain codes (3 codes in 5 bits) */
         int gc = 2;
         for (bin = s->start_freq[ch]; bin < s->end_freq[ch]; bin++) {
-            if (s->bap[ch][bin] > 7 && s->bap[ch][bin] < end_bap) {
+            if (s->bap[ch][bin] > 7 && s->bap[ch][bin] < 17) {
                 if (gc++ == 2) {
                     int group_code = get_bits(gbc, 5);
                     if (group_code > 26) {



More information about the FFmpeg-soc mailing list