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

jbr subversion at mplayerhq.hu
Mon Dec 31 04:46:45 CET 2007


Author: jbr
Date: Mon Dec 31 04:46:45 2007
New Revision: 1732

Log:
remove unused context variable

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

Modified: eac3/ac3dec.h
==============================================================================
--- eac3/ac3dec.h	(original)
+++ eac3/ac3dec.h	Mon Dec 31 04:46:45 2007
@@ -72,7 +72,6 @@ typedef struct AC3DecodeContext {
 
 ///@defgroup bsi Bit Stream Information
 ///@{
-    int syncword;       ///< AC3 frame sync word
     int stream_type;    ///< Stream type (strmtyp)
     int substreamid;    ///< Substream identification
     int frame_size;     ///< Frame size, in bytes

Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c	(original)
+++ eac3/eac3dec.c	Mon Dec 31 04:46:45 2007
@@ -1153,7 +1153,6 @@ static int eac3_decode_frame(AVCodecCont
     int k, i, blk, ch;
 
     *data_size = 0;
-    c->syncword = 0;
     init_get_bits(&c->gbc, buf, buf_size*8);
 
     if(ff_ac3_parse_frame_header(c)) {



More information about the FFmpeg-soc mailing list