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

andoma subversion at mplayerhq.hu
Thu Mar 6 10:51:56 CET 2008


Author: andoma
Date: Thu Mar  6 10:51:56 2008
New Revision: 1983

Log:
Remove (more or less) unused member in the ics struct.



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Mar  6 10:51:56 2008
@@ -170,7 +170,6 @@ typedef struct {
     int window_sequence;
     int window_shape;             ///< If set, use Kaiser-Bessel window, otherwise use a sinus window
     int window_shape_prev;
-    int predictor;                ///< XXX: Remove this
     int num_window_groups;
     uint8_t grouping;
     uint8_t group_len[8];
@@ -1074,8 +1073,7 @@ static int ics_info(AACContext * ac, Get
         ics->num_swb = ac->num_swb_1024;
         ics->num_windows = 1;
         ics->tns_max_bands = ac->tns_max_bands_1024;
-        ics->predictor = get_bits1(gb);
-        if (ics->predictor) {
+        if (get_bits1(gb)) {
 #ifdef AAC_LTP
             if (ac->audioObjectType == AOT_AAC_MAIN) {
                 assert(0);



More information about the FFmpeg-soc mailing list