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

jbr subversion at mplayerhq.hu
Sat Dec 15 18:48:03 CET 2007


Author: jbr
Date: Sat Dec 15 18:48:03 2007
New Revision: 1585

Log:
use skip_bits_long() instead of skip_bits()

Modified:
   eac3/eac3dec.c

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Sat Dec 15 18:48:03 2007
@@ -425,7 +425,11 @@ static int parse_bsi(GetBitContext *gbc,
             switch(get_bits(gbc, 2)) {
                 case 1: skip_bits(gbc, 5);                     break;
                 case 2: skip_bits(gbc, 12);                    break;
-                case 3: skip_bits(gbc, 8*get_bits(gbc, 5)+16); break;
+                case 3: {
+                    int mix_data_size = 8 * get_bits(gbc, 5) + 16;
+                    skip_bits_long(gbc, mix_data_size);
+                    break;
+                }
             }
             /* skip pan information for mono or dual mono source */
             if (s->channel_mode < 2) {



More information about the FFmpeg-soc mailing list