2016-09-26 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'lib/rdsimpleplayer.cpp' that caused RDAirPlay
	to freeze when attempting to audition an expired cart
	[GitHub issue #000051].
This commit is contained in:
Fred Gleason 2016-09-26 09:07:08 -04:00
parent 71b065aa38
commit 38dc64c548
2 changed files with 8 additions and 1 deletions

View File

@ -15480,3 +15480,7 @@
chunks to be written with odd chunk lengths.
2016-09-13 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.15.1int00.
2016-09-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdsimpleplayer.cpp' that caused RDAirPlay
to freeze when attempting to audition an expired cart
[GitHub issue #000051].

View File

@ -113,7 +113,10 @@ void RDSimplePlayer::play(int start_pos)
QString cut = "";
RDCart *cart=new RDCart(play_cart);
if (cart->selectCut(&cut)) {
if(cart->selectCut(&cut)) {
if(cut.isEmpty()) {
return;
}
play_cae->
loadPlay(play_card,cut,&play_stream,&handle);