Changeset 5894


Ignore:
Timestamp:
Oct 2, 2018 7:13:16 AM (6 years ago)
Author:
riza
Message:

Re #2147 (misc): Call pj_bzero() to frame_out to avoid undefined value for
bit_info. Thanks to Sai Krishna for the report.

File:
1 edited

Legend:

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

    r5887 r5894  
    930930 
    931931    /* Init frame_out buffer. */ 
     932    pj_bzero(&frame_out, sizeof(frame_out)); 
    932933    frame_out.buf = ((char*)channel->buf) + sizeof(pjmedia_rtp_hdr); 
    933     frame_out.size = 0; 
    934934 
    935935    /* Check if need to send keyframe. */ 
Note: See TracChangeset for help on using the changeset viewer.