mirror of http://gerrit.asterisk.org/asterisk
Incrementing stasis_app_playback.media_index directly in our playback loop means that when we reach the end of our playlist the index into the vector will be outside of the bounds of the vector. Instead use a temporary variable and only assign when we're sure that we are in bounds. ASTERISK-28713 #close Reported by: Sébastien Duthil Change-Id: Ib53f7f156097e0607eb5871d9d78d246ed274928changes/21/13721/1
parent
35a782d58a
commit
2a6b09e2e8
Loading…
Reference in new issue