Ignore:
Timestamp:
Dec 10, 2010 11:04:30 AM (13 years ago)
Author:
bennylp
Message:

Migration of current video works from private repository to this repository. This closed #1176

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/wav_writer.c

    r2394 r3392  
    5252 
    5353static pj_status_t file_put_frame(pjmedia_port *this_port,  
    54                                   const pjmedia_frame *frame); 
     54                                  pjmedia_frame *frame); 
    5555static pj_status_t file_get_frame(pjmedia_port *this_port,  
    5656                                  pjmedia_frame *frame); 
     
    199199 
    200200    /* Check that buffer size is greater than bytes per frame */ 
    201     pj_assert(fport->bufsize >= fport->base.info.bytes_per_frame); 
     201    pj_assert(fport->bufsize >= PJMEDIA_PIA_AVG_FSZ(&fport->base.info)); 
    202202 
    203203 
     
    217217              (int)fport->base.info.name.slen, 
    218218              fport->base.info.name.ptr, 
    219               fport->base.info.clock_rate, 
     219              PJMEDIA_PIA_SRATE(&fport->base.info), 
    220220              fport->bufsize / 1000)); 
    221221 
     
    309309 */ 
    310310static pj_status_t file_put_frame(pjmedia_port *this_port,  
    311                                   const pjmedia_frame *frame) 
     311                                  pjmedia_frame *frame) 
    312312{ 
    313313    struct file_port *fport = (struct file_port *)this_port; 
Note: See TracChangeset for help on using the changeset viewer.