aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_sec_ne.c
diff options
context:
space:
mode:
authorMark Purcell <msp@debian.org>2008-06-22 11:00:40 +1000
committeretobi <git@e-tobi.net>2013-09-03 09:48:42 +0200
commit891c51ff368ed700dec6025eeb47ce4d96f76418 (patch)
tree3729664829e4faa691d403274f38eb10890b533c /test/test_sec_ne.c
parent1c6e1f28f54ec2606c23936c1d8689f2be55a86c (diff)
parentab959d7b4194715870128e616b8e29d4a101e488 (diff)
downloadlinux-dvb-apps-debian/1.1.1+rev1207-1.tar.gz
Imported Debian patch 1.1.1+rev1207-1debian/1.1.1+rev1207-1
Diffstat (limited to '')
-rw-r--r--test/test_sec_ne.c7
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;
}
-