[FFmpeg-soc] [soc]: r4312 - in wmapro: wma3.h wma3dec.c

faust3 subversion at mplayerhq.hu
Mon May 25 22:24:50 CEST 2009


Author: faust3
Date: Mon May 25 22:24:50 2009
New Revision: 4312

Log:
removed unused negative_quantstep context variable

Modified:
   wmapro/wma3.h
   wmapro/wma3dec.c

Modified: wmapro/wma3.h
==============================================================================
--- wmapro/wma3.h	Mon May 25 22:21:27 2009	(r4311)
+++ wmapro/wma3.h	Mon May 25 22:24:50 2009	(r4312)
@@ -132,7 +132,6 @@ typedef struct WMA3DecodeContext {
     uint8_t          bit5;                          ///< padding bit? (CBR files)
     uint8_t          bit6;                          ///< unknown
     uint8_t          packet_loss;                   ///< set in case of bitstream error
-    uint8_t          negative_quantstep;            ///< packet loss due to negative quant step
 
     /* frame decode state */
     unsigned int     frame_num;                     ///< current frame number

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Mon May 25 22:21:27 2009	(r4311)
+++ wmapro/wma3dec.c	Mon May 25 22:24:50 2009	(r4312)
@@ -1259,7 +1259,6 @@ static int wma_decode_subframe(WMA3Decod
             }
             s->quant_step += 31 * sign;
             if(s->quant_step < 0){
-                s->negative_quantstep = 1;
                 av_log(s->avctx,AV_LOG_ERROR,"negative quant step\n");
             }
         }
@@ -1376,8 +1375,6 @@ static int wma_decode_frame(WMA3DecodeCo
         return 0;
     }
 
-    s->negative_quantstep = 0;
-
     /** get frame length */
     if(s->len_prefix)
         len = get_bits(gb,s->log2_frame_size);


More information about the FFmpeg-soc mailing list