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 [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.