Ignore:
Timestamp:
Jun 18, 2006 1:59:14 AM (18 years ago)
Author:
bennylp
Message:

Bring the GSM codec to patchlevel 12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/gsm/code.c

    r176 r517  
    1515#       include "proto.h" 
    1616        extern char     * memcpy P((char *, char *, int)); 
    17 #endif 
    18  
    19 #ifdef HAS_STRING_H 
    20 #include <string.h> 
    2117#endif 
    2218 
     
    6460        word    * dpp = dp;             /* [ 0...39 ]    */ 
    6561 
    66         static word e[50]; 
    67  
    6862        word    so[160]; 
    6963 
     
    7771                                         so+k*40, /* d      [0..39] IN  */ 
    7872                                         dp,      /* dp  [-120..-1] IN  */ 
    79                                         e + 5,    /* e      [0..39] OUT */ 
     73                                        S->e + 5, /* e      [0..39] OUT */ 
    8074                                        dpp,      /* dpp    [0..39] OUT */ 
    8175                                         Nc++, 
     
    8377 
    8478                Gsm_RPE_Encoding        ( S, 
    85                                         e + 5,  /* e      ][0..39][ IN/OUT */ 
     79                                        S->e + 5,/* e     ][0..39][ IN/OUT */ 
    8680                                          xmaxc++, Mc++, xMc ); 
    8781                /* 
    8882                 * Gsm_Update_of_reconstructed_short_time_residual_signal 
    89                  *                      ( dpp, e + 5, dp ); 
     83                 *                      ( dpp, S->e + 5, dp ); 
    9084                 */ 
    9185 
     
    9387                  register longword ltmp; 
    9488                  for (i = 0; i <= 39; i++) 
    95                         dp[ i ] = GSM_ADD( e[5 + i], dpp[i] ); 
     89                        dp[ i ] = GSM_ADD( S->e[5 + i], dpp[i] ); 
    9690                } 
    9791                dp  += 40; 
Note: See TracChangeset for help on using the changeset viewer.