* [gentoo-commits] gentoo-x86 commit in media-video/mpeg4ip/files: mpeg4ip-1.5.0.1-gcc42.patch
@ 2007-10-28 19:20 Ryan Hill (dirtyepic)
0 siblings, 0 replies; only message in thread
From: Ryan Hill (dirtyepic) @ 2007-10-28 19:20 UTC (permalink / raw
To: gentoo-commits
dirtyepic 07/10/28 19:20:54
Added: mpeg4ip-1.5.0.1-gcc42.patch
Log:
Applied GCC 4.2 patch from PLD for bug #186637. (gcc-porting) Fix quoting.
(Portage version: 2.1.3.16)
Revision Changes Path
1.1 media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-gcc42.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-gcc42.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-gcc42.patch?rev=1.1&content-type=text/plain
Index: mpeg4ip-1.5.0.1-gcc42.patch
===================================================================
--- mpeg4ip-1.5.0.1/common/video/iso-mpeg4/include/basic.hpp.orig 2005-05-04 19:55:58.000000000 +0000
+++ mpeg4ip-1.5.0.1/common/video/iso-mpeg4/include/basic.hpp 2006-12-13 10:15:12.283713250 +0000
@@ -89,12 +89,9 @@
#define transpPixel CPixel(0,0,0,0)
#define opaquePixel CPixel(255,255,255,255)
-#ifndef max
-#define max(a,b) (((a) > (b)) ? (a) : (b))
-#endif
-#ifndef min
-#define min(a, b) (((a) < (b)) ? (a) : (b))
-#endif
+static inline long min( long x, long y ) { return ( ( x < y ) ? x : y ); }
+static inline long max( long x, long y ) { return ( ( x > y ) ? x : y ); }
+
#define signOf(x) (((x) > 0) ? 1 : 0)
#define invSignOf(x) ((x) > 0 ? 0 : 1) // see p.22/H.263
#define sign(x) ((x) > 0 ? 1 : -1) // see p.22/H.263
--- mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src/type_basic.cpp.orig 2005-05-04 19:56:00.000000000 +0000
+++ mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src/type_basic.cpp 2006-12-13 10:41:07.856930500 +0000
@@ -317,13 +317,13 @@
iHalfY = m_vctTrueHalfPel.y - iMVY * 2;
}
-Void CMotionVector::setToZero (Void)
+Void CMotionVector::setToZero ()
{
memset (this, 0, sizeof (*this));
}
// RRV insertion
-Void CMotionVector::scaleup (Void)
+Void CMotionVector::scaleup ()
{
if(m_vctTrueHalfPel.x == 0){
m_vctTrueHalfPel_x2.x = 0;
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-28 19:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-28 19:20 [gentoo-commits] gentoo-x86 commit in media-video/mpeg4ip/files: mpeg4ip-1.5.0.1-gcc42.patch Ryan Hill (dirtyepic)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox