freebsd-ports/multimedia/mplayerxp/files/patch-codecs__libavcodec__xvidff.c

14 lines
299 B
C
Raw Normal View History

--- 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.
*/