Changeset 2516


Ignore:
Timestamp:
Mar 17, 2009 10:13:30 AM (12 years ago)
Author:
bennylp
Message:

Compilation warnings in IPP codec (misc fixes, ticket #720)

File:
1 edited

Legend:

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

    r2412 r2516  
    10481048            goto on_error; 
    10491049 
    1050         s->enc_setting.amr_nb = ippc->pt == PJMEDIA_RTP_PT_AMR; 
     1050        s->enc_setting.amr_nb = (pj_uint8_t)(ippc->pt == PJMEDIA_RTP_PT_AMR); 
    10511051        s->enc_setting.octet_aligned = octet_align; 
    10521052        s->enc_setting.reorder = PJ_TRUE; 
    10531053        s->enc_setting.cmr = 15; 
    10541054         
    1055         s->dec_setting.amr_nb = ippc->pt == PJMEDIA_RTP_PT_AMR; 
     1055        s->dec_setting.amr_nb = (pj_uint8_t)(ippc->pt == PJMEDIA_RTP_PT_AMR); 
    10561056        s->dec_setting.octet_aligned = octet_align; 
    10571057        s->dec_setting.reorder = PJ_TRUE; 
Note: See TracChangeset for help on using the changeset viewer.