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:
2017-12-10 19:54:07 +01:00
parent e11610bf32
commit 1d0545e19c

View File

@@ -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;