Ignore:
Timestamp:
Sep 25, 2017 2:58:42 AM (3 years ago)
Author:
riza
Message:

Re #1994(misc): Fix warning on VS2015 when enabling video, opus, webrtc ec.

File:
1 edited

Legend:

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

    r5432 r5659  
    284284    sample * out_buf_ptr; 
    285285 
     286    PJ_UNUSED_ARG(options); 
     287    PJ_UNUSED_ARG(reserved); 
     288 
    286289    /* Sanity checks */ 
    287290    PJ_ASSERT_RETURN(echo && rec_frm && play_frm, PJ_EINVAL); 
     
    329332        status = WebRtcAec_Process(echo->AEC_inst, &buf_ptr, 
    330333                                   echo->channel_count, &out_buf_ptr, 
    331                                    echo->subframe_len, echo->tail, 0); 
     334                                   echo->subframe_len, (int16_t)echo->tail, 0); 
    332335#endif 
    333336        if (status != 0) { 
Note: See TracChangeset for help on using the changeset viewer.