[mythtv] confusing conditional
Erik Hovland
erik at hovland.org
Thu Feb 10 18:27:39 UTC 2011
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 at hovland.org
http://hovland.org/
More information about the mythtv-dev
mailing list