Ignore:
Timestamp:
Mar 17, 2008 2:24:21 PM (16 years ago)
Author:
bennylp
Message:

More ticket #507: updated GNU build system with the G.722 codec and fixed minor warning about operator precedence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/g722/g722_enc.c

    r1870 r1871  
    7777    sil = el >> 15 ; 
    7878    if (sil == 0 )  wd = el ; 
    79     else wd = 32767 - el & 32767 ; 
     79    else wd = 32767 - (el & 32767) ; 
    8080 
    8181    mil = 1 ; 
     
    305305    sih = eh >> 15 ; 
    306306    if (sih == 0 )  wd = eh ; 
    307     else wd = 32767 - eh & 32767 ; 
     307    else wd = 32767 - (eh & 32767) ; 
    308308 
    309309    hdu = (564 << 3) * deth; 
Note: See TracChangeset for help on using the changeset viewer.