[Ffmpeg-cvslog] CVS: ffmpeg/libavutil common.h,1.162,1.163

Måns Rullgård CVS mru
Sun Apr 2 00:29:23 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavutil
In directory mail:/var2/tmp/cvs-serv31704/libavutil

Modified Files:
	common.h 
Log Message:
#define [U]INT32_{MIN,MAX} if missing


Index: common.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavutil/common.h,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -d -r1.162 -r1.163
--- common.h	6 Mar 2006 22:06:33 -0000	1.162
+++ common.h	1 Apr 2006 22:29:20 -0000	1.163
@@ -140,6 +140,18 @@
 #define INT16_MAX       0x7fff
 #endif
 
+#ifndef INT32_MIN
+#define INT32_MIN       (-0x7fffffff-1)
+#endif
+
+#ifndef INT32_MAX
+#define INT32_MAX       0x7fffffff
+#endif
+
+#ifndef UINT32_MAX
+#define UINT32_MAX      0xffffffff
+#endif
+
 #ifndef INT64_MIN
 #define INT64_MIN       (-0x7fffffffffffffffLL-1)
 #endif





More information about the ffmpeg-cvslog mailing list