[FFmpeg-soc] [soc]: r1573 - in eac3: eac3.h eac3dec.c

jbr subversion at mplayerhq.hu
Fri Dec 14 07:58:31 CET 2007


Author: jbr
Date: Fri Dec 14 07:58:30 2007
New Revision: 1573

Log:
remove unused variable

Modified:
   eac3/eac3.h
   eac3/eac3dec.c

Modified: eac3/eac3.h
==============================================================================
--- eac3/eac3.h	(original)
+++ eac3/eac3.h	Fri Dec 14 07:58:30 2007
@@ -52,7 +52,6 @@ typedef struct EAC3Context{
     int lfe_on;                      ///< Low frequency effect channel on (lfeon)
     int bitstream_id;                ///< Bit stream identification (bsid)
     float dialog_norm[2];            ///< Dialogue normalization (dialnorm)
-    int lfemixlevcod;                ///< lfe mix level code
     int pgmscl[2];                   ///< Program scale factor
     int extpgmscl;                   ///< External program scale factor
     int mixdef;                      ///< Mix control type

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Fri Dec 14 07:58:30 2007
@@ -434,7 +434,8 @@ static int parse_bsi(GetBitContext *gbc,
         if (s->lfe_on) {
             /* if the LFE channel exists */
             if (get_bits1(gbc)) {
-                s->lfemixlevcod = get_bits(gbc, 5);
+                // TODO: use LFE mix level
+                skip_bits(gbc, 5); // skip LFE mix level code
             }
         }
         if (s->stream_type == EAC3_STREAM_TYPE_INDEPENDENT) {



More information about the FFmpeg-soc mailing list