Changeset 4031 for pjproject


Ignore:
Timestamp:
Apr 9, 2012 7:15:45 AM (13 years ago)
Author:
nanang
Message:

Re #1474: merged r4030

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjmedia/src/pjmedia/wav_player.c

    r3878 r4031  
    452452{ 
    453453    struct file_reader_port *fport; 
     454    pj_status_t status; 
    454455 
    455456    /* Sanity check */ 
     
    472473 
    473474    fport->eof = PJ_FALSE; 
    474     return fill_buffer(fport); 
     475    status = fill_buffer(fport); 
     476    if (status != PJ_SUCCESS) 
     477        return status; 
     478 
     479    fport->readpos = fport->buf; 
     480 
     481    return PJ_SUCCESS; 
    475482} 
    476483 
Note: See TracChangeset for help on using the changeset viewer.