On Fri, 31 Oct 2003 12:55:49 +0100 Ralph Metzler <[EMAIL PROTECTED]> wrote:
> True, this has to be "count>0" and it actually always used to be.
> Is this only wrong in the test9 kernel or also in other versions?
$ cvs status dvb_demux.c
===================================================================
File: dvb_demux.c Status: Up-to-date
Working revision: 1.44
Repository revision: 1.44 /cvs/linuxtv/DVB/driver/dvb_demux.c,v
Sticky Tag: (none)
Sticky Date: (none)
Sticky Options: (none)
$ grep -n -A 3 -B 3 while\ \(count dvb_demux.c
281- p += buf[p] + 1; // skip rest of last section
282- count = 188 - p;
283-
284: while (count) {
285-
286- sec->crc_val = ~0;
287-
--
407- if ((dvbdmxfeed=dvbdmx->pid2feed[0x2000]))
408- dvbdmxfeed->cb.ts((u8 *)buf, count*188, 0, 0,
409- &dvbdmxfeed->feed.ts, DMX_OK);
410: while (count) {
411- if (buf[0] == 0x47) {
412- dvb_dmx_swfilter_packet(dvbdmx, buf);
413- }
Regards,
--
Steffen Beyer <[EMAIL PROTECTED]>
GnuPG key fingerprint: 6C9B 2844 AF75 AC7A C38C 9FFD 06CB A788 398B D2D9
Public key available upon request or at http://wwwkeys.pgp.net
pgp00000.pgp
Description: PGP signature
