[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mythtv-dev
Subject:    [mythtv] confusing conditional
From:       Erik Hovland <erik () hovland ! org>
Date:       2011-02-10 18:27:39
Message-ID: AANLkTimbWRHcfA9AvDKP9+LHkRy9JL+gbt-QaAd=_7gM () mail ! gmail ! com
[Download RAW message or body]

Anyone have any idea how this condition works. This is in
mythtv/libs/libmythtv/cc608decoder.cpp, in the member function
CC608Decoder::XDSDecode.
1096     // Supports non-interleaved XDS packet continuation by ignoring cont.
1097     if ((b1 < 0x0f) && (b1 > 0x0f))
1098         return;

My feeble understanding of math says that b1 cannot
be both less then 0xf and greater then 0xf at the same time.

E

-- 
Erik Hovland
erik@hovland.org
http://hovland.org/
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic