mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
re-formatting code using astyle; see https://github.com/neutrino-images/ni-buildsystem/blob/master/support/scripts/astyle.sh
Origin commit data
------------------
Branch: master
Commit: 53ca350af4
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-07 (Sun, 07 Nov 2021)
Origin message was:
------------------
- re-formatting code using astyle; see https://github.com/neutrino-images/ni-buildsystem/blob/master/support/scripts/astyle.sh
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -203,7 +203,8 @@ int cDemux::Read(unsigned char *buff, int len, int timeout)
|
||||
* return from read(), so as a "emergency exit" for e.g. NIT scan, set a (long)
|
||||
* timeout here */
|
||||
int to = timeout;
|
||||
if (dmx_type == DMX_PSI_CHANNEL && timeout <= 0){
|
||||
if (dmx_type == DMX_PSI_CHANNEL && timeout <= 0)
|
||||
{
|
||||
to = 60 * 1000;
|
||||
}
|
||||
|
||||
@@ -363,13 +364,16 @@ bool cDemux::sectionFilter(unsigned short _pid, const unsigned char *const filte
|
||||
if (debuglevel == 2)
|
||||
{
|
||||
fprintf(stderr, "filt: ");
|
||||
for (int i = 0; i < DMX_FILTER_SIZE; i++)fprintf(stderr, "%02hhx ", s_flt.filter.filter[i]);
|
||||
for (int i = 0; i < DMX_FILTER_SIZE; i++)
|
||||
fprintf(stderr, "%02hhx ", s_flt.filter.filter[i]);
|
||||
fprintf(stderr, "\n");
|
||||
fprintf(stderr, "mask: ");
|
||||
for (int i = 0; i < DMX_FILTER_SIZE; i++)fprintf(stderr, "%02hhx ", s_flt.filter.mask[i]);
|
||||
for (int i = 0; i < DMX_FILTER_SIZE; i++)
|
||||
fprintf(stderr, "%02hhx ", s_flt.filter.mask[i]);
|
||||
fprintf(stderr, "\n");
|
||||
fprintf(stderr, "mode: ");
|
||||
for (int i = 0; i < DMX_FILTER_SIZE; i++)fprintf(stderr, "%02hhx ", s_flt.filter.mode[i]);
|
||||
for (int i = 0; i < DMX_FILTER_SIZE; i++)
|
||||
fprintf(stderr, "%02hhx ", s_flt.filter.mode[i]);
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user