eb62daeb5c
The builtin libavcodec now uses yasm to assemble hand written h264 code. The older x264 we currently have in pkgsrc is not supported by mplayer, so I had to do some hand tweaking to make it work. It may contain bugs because of this, so report any fallouts with h264.
13 lines
466 B
Text
13 lines
466 B
Text
$NetBSD: patch-ac,v 1.6 2009/10/18 22:22:10 ahoka Exp $
|
|
|
|
--- libfaad2/common.h.orig 2009-07-26 21:53:00.000000000 +0200
|
|
+++ libfaad2/common.h
|
|
@@ -320,7 +320,7 @@ char *strchr(), *strrchr();
|
|
#elif (defined(__i386__) && defined(__GNUC__)) && !HAVE_LRINTF
|
|
#define HAS_LRINTF
|
|
// from http://www.stereopsis.com/FPU.html
|
|
- static INLINE int lrintf(float f)
|
|
+ static INLINE long int lrintf(float f)
|
|
{
|
|
int i;
|
|
__asm__ __volatile__ (
|