Daniel Thor Kristjansson wrote:
> On Tue, 22 Mar 2005, Taylor Jacob wrote:
> ]Quoting Doug Larrick <[EMAIL PROTECTED]>:
> ]It seems more reasonable to just drop the table to me.. Having CRC code in
> ]multiple places seems like a bad idea.. With the frequency of any section
> table
> ]its not worth worrying about loosing one here or there.. I figure if you are
> ]droping so many mal-formed tables that its actually a problem you won't be
> ]getting a reliable mpeg stream anyway and should fix your antenna setup..
>
> You can use the mpegts_crc32() function in ffmpeg, see pespacket.h in
> the libs/libmythtv/mpeg directory:
>
> unsigned int CalcCRC() const {
> return mpegts_crc32(_pesdata+1, Length()-1);
> }
> bool VerifyCRC() const { return CalcCRC()==CRC(); }
>Yah, that's what I did in my quick hack. I have some other minor changes I plan to submit tonight; I'll submit that too, commented out, for debug purposes. -Doug
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
