Changeset 1321 for pjproject


Ignore:
Timestamp:
May 30, 2007 7:28:33 AM (18 years ago)
Author:
bennylp
Message:

Another fix for ticket #290: Bug in WAV player when frame size is larger than file buffer size (thanks Samuel Vinson)

File:
1 edited

Legend:

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

    r1320 r1321  
    355355     * doesn't handle this case). 
    356356     */ 
    357     if (fport->base.info.samples_per_frame*fport->base.info.bits_per_sample >= 
     357    if (fport->base.info.samples_per_frame * BYTES_PER_SAMPLE >= 
    358358        fport->bufsize) 
    359359    { 
Note: See TracChangeset for help on using the changeset viewer.