Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] scan.c parse_sections error
- To: linux-dvb <linux-dvb@linuxtv.org>
- Subject: [linux-dvb] scan.c parse_sections error
- From: Florian Steinel <florian.steinel@t-online.de>
- Date: Fri, 04 Apr 2003 14:39:34 +0200
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=ISO-8859-1; format=flowed
- Sender: linux-dvb-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3; MultiZilla v1.4.0.2) Gecko/20030312
Hi List,
while using
http://linuxtv.org/cgi-bin/cvsweb.cgi/DVB/apps/scan/scan.c?rev=1.17&content-type=text/x-cvsweb-markup
i've noticed that the NIT is const at 1!
this error happens in parse_sections or parse_nit.
parse_sections:
...
section_length = (((buf[1] & 0x0f) << 8) | buf[2]) - 11;
id = (buf[3] << 8) | buf[4];
...
parse_nit (buf, section_length, id);
acording to
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/tuxbox/apps/dvb/dvbsnoop/src/nit.c?rev=HEAD&content-type=text/vnd.viewcvs-markup
they use
network_id = getBits (b, 0, 24, 16); //unsigned long
getBits (u_char *buf, int byte_offset, int startbit, int bitlen)
What should be done to repair scan.c?
cu
Florian Steinel
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index