mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
CServiceManager: use value 0 as init value for feparams.plp_id
Value of NO_STREAM_ID_FILTER = ~0U This could provokate overflow errors or possible compile errors related with compiler flags (e.g: -Werror=overflow)
This commit is contained in:
@@ -622,7 +622,7 @@ void CServiceManager::ParseSatTransponders(delivery_system_t delsys, xmlNodePtr
|
||||
feparams.frequency = xmlGetNumericAttribute(tps, "centre_frequency", 0);
|
||||
feparams.inversion = INVERSION_AUTO;
|
||||
|
||||
feparams.plp_id = NO_STREAM_ID_FILTER;
|
||||
feparams.plp_id = 0; // NO_STREAM_ID_FILTER = ~0U, seems not suitable here
|
||||
feparams.pls_mode = PLS_Root;
|
||||
feparams.pls_code = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user