Ignore:
Timestamp:
Mar 13, 2008 10:15:16 AM (16 years ago)
Author:
bennylp
Message:

More ticket #504: buffer overflow in splitcomb when handling stereo audio

File:
1 edited

Legend:

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

    r1844 r1866  
    656656                         (pj_int16_t*)frame->buf, ch, 
    657657                         this_port->info.channel_count, 
    658                          this_port->info.samples_per_frame); 
     658                         this_port->info.samples_per_frame / 
     659                         this_port->info.channel_count); 
    659660 
    660661        has_frame = PJ_TRUE; 
Note: See TracChangeset for help on using the changeset viewer.