[FFmpeg-soc] [soc]: r1984 - aac/aac.c

andoma subversion at mplayerhq.hu
Thu Mar 6 11:06:43 CET 2008


Author: andoma
Date: Thu Mar  6 11:06:43 2008
New Revision: 1984

Log:
Remove unused frame counter.



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Mar  6 11:06:43 2008
@@ -354,9 +354,6 @@ typedef struct {
     //bias values
     float add_bias;
     float scale_bias;
-
-    // statistics
-    int num_frame;
 } AACContext;
 
 
@@ -958,8 +955,6 @@ static int aac_decode_init(AVCodecContex
 
 
     // general init
-    ac->num_frame = -1;
-
     ac->swb_offset_1024    = swb_offset_1024    [ac->sampling_index];
     ac->num_swb_1024       = num_swb_1024       [ac->sampling_index];
     ac->tns_max_bands_1024 = tns_max_bands_1024 [ac->sampling_index];
@@ -2209,8 +2204,6 @@ static int aac_decode_frame(AVCodecConte
     GetBitContext gb;
     int id, err, tag;
 
-    ac->num_frame++;
-
     init_get_bits(&gb, buf, buf_size*8);
 
     // parse



More information about the FFmpeg-soc mailing list