Ignore:
Timestamp:
Jun 25, 2018 7:56:57 AM (15 months ago)
Author:
nanang
Message:

Misc (re #2059): Fixed various compile warnings on GCC 8.1 (thanks Alexander Traud for the report).

File:
1 edited

Legend:

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

    r5803 r5813  
    12191219    pj_status_t status = 0; 
    12201220    pjmedia_frame frame_out; 
    1221     unsigned ts_len, rtp_ts_len, samples_per_frame; 
     1221    unsigned ts_len, rtp_ts_len; 
    12221222    void *rtphdr; 
    12231223    int rtphdrlen; 
     
    12781278    frame_out.buf = ((char*)channel->out_pkt) + sizeof(pjmedia_rtp_hdr); 
    12791279    frame_out.size = 0; 
    1280  
    1281     /* Calculate number of samples per frame */ 
    1282     samples_per_frame = stream->enc_samples_per_pkt; 
    1283  
    12841280 
    12851281    /* If we have DTMF digits in the queue, transmit the digits. 
Note: See TracChangeset for help on using the changeset viewer.