mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user