freebsd-ports/multimedia/mplayerxp/files/patch-codecs__libavcodec__xvidff.c
Martin Wilke b04cc8eeea - Update to 0.6.1
PR:		ports/107634
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-01-09 22:48:40 +00:00

13 lines
299 B
C

--- codecs/libavcodec/xvidff.c.orig Wed Oct 18 02:39:04 2006
+++ codecs/libavcodec/xvidff.c Mon Dec 25 01:35:12 2006
@@ -31,6 +31,10 @@
#include "avcodec.h"
#include "xvid_internal.h"
+#ifndef roundf
+#define roundf(x) (floor((x)+(float )0.5f))
+#endif
+
/**
* Buffer management macros.
*/