13
0

Fix incredibly unlikely NULL pointer dereference.

This commit is contained in:
David Robillard 2014-11-18 02:23:49 -05:00
parent 9aec0c627d
commit 26f6f80a53

View File

@ -643,7 +643,7 @@ SndFileSource::setup_broadcast_info (framepos_t /*when*/, struct tm& now, time_t
return -1;
}
if (!(_flags & Broadcast)) {
if (!(_flags & Broadcast) || !_broadcast_info) {
return 0;
}