Changeset 3909 for pjproject/trunk


Ignore:
Timestamp:
Dec 15, 2011 6:27:07 AM (13 years ago)
Author:
nanang
Message:

Misc (re #1393): fix compile error in pjsua_media.c (undefined member 'bitrate' in struct 'pjmedia_format') when using passthrough codec.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r3901 r3909  
    151151                for (j = 0; j < ext_fmt_cnt && !is_listed; ++j) { 
    152152                    if (ext_fmts[j].id == aud_info.ext_fmt[i].id && 
    153                         ext_fmts[j].bitrate == aud_info.ext_fmt[i].bitrate) 
     153                        ext_fmts[j].det.aud.avg_bps == 
     154                        aud_info.ext_fmt[i].det.aud.avg_bps) 
    154155                    { 
    155156                        is_listed = PJ_TRUE; 
Note: See TracChangeset for help on using the changeset viewer.