eitd:dmx check if filters is not empty

Origin commit data
------------------
Branch: ni/coolstream
Commit: 827f5f1d30
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-12-27 (Fri, 27 Dec 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-12-27 20:51:17 +01:00
committed by vanhofen
parent 35cbb6f782
commit a3d9c5d9e0

View File

@@ -506,7 +506,7 @@ int DMX::immediate_start(void)
}
/* setfilter() only if this is no dummy filter... */
if (filters[filter_index].filter && filters[filter_index].mask)
if (!filters.empty() && filters[filter_index].filter && filters[filter_index].mask)
{
unsigned char filter[DMX_FILTER_SIZE];
unsigned char mask[DMX_FILTER_SIZE];