#define [U]INT32_{MIN,MAX} if missing
authorMåns Rullgård <mans@mansr.com>
Sat, 1 Apr 2006 22:29:20 +0000 (22:29 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 1 Apr 2006 22:29:20 +0000 (22:29 +0000)
Originally committed as revision 5261 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/common.h

index b2590c9..d8f2c40 100644 (file)
 #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