diff options
author | Mark Purcell <msp@debian.org> | 2008-06-22 11:00:40 +1000 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:42 +0200 |
commit | 891c51ff368ed700dec6025eeb47ce4d96f76418 (patch) | |
tree | 3729664829e4faa691d403274f38eb10890b533c /test/test_sec_ne.c | |
parent | 1c6e1f28f54ec2606c23936c1d8689f2be55a86c (diff) | |
parent | ab959d7b4194715870128e616b8e29d4a101e488 (diff) | |
download | linux-dvb-apps-891c51ff368ed700dec6025eeb47ce4d96f76418.tar.gz |
Imported Debian patch 1.1.1+rev1207-1debian/1.1.1+rev1207-1
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; } - |