Changeset 6061
- Timestamp:
- Sep 4, 2019 9:57:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/wav_player.c
r5635 r6061 539 539 540 540 payload_pos = (pj_size_t)(fport->fpos - fport->start_data); 541 if (payload_pos >= fport->bufsize) 541 if (payload_pos == 0) 542 return 0; 543 else if (payload_pos >= fport->bufsize) 542 544 return payload_pos - fport->bufsize + (fport->readpos - fport->buf); 543 545 else
Note: See TracChangeset
for help on using the changeset viewer.