#86 closed defect (fixed)
Bugs in WAV playlist
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-0.5.10 |
Component: | pjmedia | Version: | 0.5.9 |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description
The *current_file* variable is not always consistent and need to be updated
specially when the last file in the list has been played otherwise there is a
crash due to an access violation since it's used as an index for the playlist;
The statement
current_file = fport->current_file;
shall be the first statement in the *while (size_left > 0)* loop to fix that
array index bug ;o)
Thanks Alain Totouom for the report/fix.
Change History (2)
comment:1 Changed 18 years ago by bennylp
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 18 years ago by bennylp
- Summary changed from Crash in WAV playlist to Bugs in WAV playlist
Another problem reported and fixed by Alain Totouom, and I committed in r919:
"When x Files are set in the play list, in the first iteration all the files are
played normally. But when the first loop is over only the first file in the list
is played continuously (bug)."
Fixed in r917.