[mythtv-commits] Ticket #3062: Freebsd compatibility patches
MythTV
mythtv at cvs.mythtv.org
Thu Feb 15 19:51:30 UTC 2007
#3062: Freebsd compatibility patches
----------------------------------+-----------------------------------------
Reporter: usleepless at gmail.com | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
----------------------------------+-----------------------------------------
Comment (by usleepless at gmail.com):
Added a refined patch for yuv2rgb.cpp, needed for AMD64/FreeBSD compile.
Somehow the compiler casts UCHAR_MAX ( which is defined as 0xff at the
base ) to an unsigned int, while the second parameter to std::min (
std::max ) returns a signed int. std::min can not cope. The problem does
not occur on i386.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3062#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list