Changeset 919


Ignore:
Timestamp:
Jan 31, 2007 9:09:04 PM (12 years ago)
Author:
bennylp
Message:

Fixed ticket #86: file not properly rewind-ed for the next iteration (thanks Alain Totouom again)

File:
1 edited

Legend:

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

    r917 r919  
    141141        if (size < (pj_ssize_t)size_to_read) 
    142142        { 
     143            /* Rewind the file for the next iteration */ 
     144            fport->fpos_list[current_file] =  
     145                fport->start_data_list[current_file]; 
     146            pj_file_setpos(fport->fd_list[current_file],  
     147                           fport->fpos_list[current_file], PJ_SEEK_SET); 
     148 
     149            /* Move to next file */ 
    143150            current_file++; 
    144151            fport->current_file = current_file; 
Note: See TracChangeset for help on using the changeset viewer.