mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +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)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1d0545e19c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-12-10 (Sun, 10 Dec 2017)
------------------
This commit was generated by Migit
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