Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Minor bug in pes_play() (was dvb-kernel: ring buffer clean-up)



Oliver Endriss writes :

...
As I don't know about the maximum message size on this list, and
to save traffic, I uploaded patch.diff and the new files on
http://endriss.escape.bei.t-online.de/tmp

The changes to the 2.5.x Makefile are still missing, first I'll have to setup a 2.5.x source tree...

Browsing the diff file shows the lines in pes_play() :

if (((sync&~0x1f)==0x000001e0) ||
((sync&~0x1f)==0x000001c0) ||
(sync==0x000001bd))
break;


As there is only 16 video streams available in the MPEG PES header (see 13818-1 table 2-19), one should read
(sync&~0x0f)==0x000001e0) instead of (sync&~0x1f)==0x000001e0)

I did not check elsewhere if the same incorrect writing occurs.

/Régis



--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index