[MPlayer-dev-eng] ve_lavc missing limits.h include
Gianluigi Tiesi
mplayer at netfarm.it
Mon Jan 23 14:21:00 CET 2006
libmpcodecs/ve_lavc.c misses limits.h include, it uses INT_MAX,
this break compilation on mingw32 (at least).
Attached simple patch.
Bye
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
Index: libmpcodecs/ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.126
diff -u -r1.126 ve_lavc.c
--- libmpcodecs/ve_lavc.c 22 Jan 2006 21:02:14 -0000 1.126
+++ libmpcodecs/ve_lavc.c 23 Jan 2006 13:19:56 -0000
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
+#include <limits.h>
#include <time.h>
#if !defined(INFINITY) && defined(HUGE_VAL)
More information about the MPlayer-dev-eng
mailing list