diff options
author | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:41 +0200 |
commit | ab959d7b4194715870128e616b8e29d4a101e488 (patch) | |
tree | 61a746231d30817be73416a7d67763fd677a1042 /test/test_sec_ne.c | |
parent | 6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff) | |
download | linux-dvb-apps-ab959d7b4194715870128e616b8e29d4a101e488.tar.gz |
Imported Upstream version 1.1.1+rev1207upstream/1.1.1+rev1207
Diffstat (limited to 'test/test_sec_ne.c')
-rw-r--r-- | test/test_sec_ne.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/test_sec_ne.c b/test/test_sec_ne.c index 9fcc8b3..350ac09 100644 --- a/test/test_sec_ne.c +++ b/test/test_sec_ne.c @@ -65,7 +65,7 @@ void process_section(int fd) } int set_filter(int fd, unsigned int pid, unsigned int tid, - unsigned int tid_ext, unsigned int version_number) + unsigned int tid_ext, unsigned int _version_number) { struct dmx_sct_filter_params f; unsigned long bufsz; @@ -92,8 +92,8 @@ int set_filter(int fd, unsigned int pid, unsigned int tid, f.filter.mask[1] = 0xff; f.filter.mask[2] = 0xff; } - if (version_number < 0x20) { - f.filter.filter[3] = (uint8_t) (version_number << 1); + if (_version_number < 0x20) { + f.filter.filter[3] = (uint8_t) (_version_number << 1); f.filter.mask[3] = 0x3e; f.filter.mode[3] = 0x3e; } @@ -162,4 +162,3 @@ int main(int argc, char *argv[]) close(dmxfd); return 0; } - |