Ignore:
Timestamp:
Jun 2, 2008 2:16:36 PM (16 years ago)
Author:
nanang
Message:

Fixed uninitialized output size before calling G.722 encoder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/g722.c

    r1870 r1977  
    569569 
    570570    /* Encode to temporary buffer */ 
     571    output->size = output_buf_len; 
    571572    status = g722_enc_encode(&g722_data->encoder, (pj_int16_t*)input->buf,  
    572573                             SAMPLES_PER_FRAME, output->buf, &output->size); 
Note: See TracChangeset for help on using the changeset viewer.