Ignore:
Timestamp:
Aug 25, 2015 8:45:46 AM (9 years ago)
Author:
nanang
Message:

Re #1881: Fixed compile warnings on VS2015 about declaration hides previous declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c

    r5129 r5170  
    11771177                            /* Match! */ 
    11781178                            if (is_codec) { 
    1179                                 pjmedia_sdp_media *o, *a; 
     1179                                pjmedia_sdp_media *o_med, *a_med; 
    11801180                                unsigned o_fmt_idx, a_fmt_idx; 
    11811181 
    1182                                 o = (pjmedia_sdp_media*)offer; 
    1183                                 a = (pjmedia_sdp_media*)preanswer; 
     1182                                o_med = (pjmedia_sdp_media*)offer; 
     1183                                a_med = (pjmedia_sdp_media*)preanswer; 
    11841184                                o_fmt_idx = prefer_remote_codec_order? i:j; 
    11851185                                a_fmt_idx = prefer_remote_codec_order? j:i; 
     
    11871187                                /* Call custom format matching callbacks */ 
    11881188                                if (custom_fmt_match(pool, &or_.enc_name, 
    1189                                                      o, o_fmt_idx, 
    1190                                                      a, a_fmt_idx, 
     1189                                                     o_med, o_fmt_idx, 
     1190                                                     a_med, a_fmt_idx, 
    11911191                                                     ALLOW_MODIFY_ANSWER) != 
    11921192                                    PJ_SUCCESS) 
Note: See TracChangeset for help on using the changeset viewer.