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

bwolowiec subversion at mplayerhq.hu
Wed Sep 12 22:43:29 CEST 2007


Author: bwolowiec
Date: Wed Sep 12 22:43:28 2007
New Revision: 1345

Log:
remove blkstrtinfoe


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

Modified: eac3/eac3.h
==============================================================================
--- eac3/eac3.h	(original)
+++ eac3/eac3.h	Wed Sep 12 22:43:28 2007
@@ -89,7 +89,6 @@ typedef struct EAC3Context{
     int transproclen[AC3_MAX_CHANNELS];  ///< Transient processing length
     int chinspxatten[AC3_MAX_CHANNELS];  ///< Channel in spectral extension attenuation process
     int spxattencod[AC3_MAX_CHANNELS];   ///< spectral extension attenuation code
-    int blkstrtinfoe;                ///< Block start information exists
     uint32_t blkstrtinfo;            ///< Block start information
     int ncplblks;
 ///@}

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Wed Sep 12 22:43:28 2007
@@ -651,12 +651,7 @@ static int parse_audfrm(GetBitContext *g
             s->chinspxatten[ch]=0;
     }
     /* Block start information */
-    if (s->numblkscod){
-        s->blkstrtinfoe = get_bits1(gbc);
-    }else{
-        s->blkstrtinfoe = 0;
-    }
-    if(s->blkstrtinfoe){
+    if(s->numblkscod && get_bits1(gbc)){
         /* nblkstrtbits determined from frmsiz (see Section E2.3.2.27) */
         // nblkstrtbits = (numblks - 1) * (4 + ceiling (log2 (words_per_frame)))
         // where numblks is derived from the numblkscod in Table E2.9



More information about the FFmpeg-soc mailing list