[FFmpeg-cvslog] libavutil: drop fallback definitions of INTxx_MIN/MAX

Mans Rullgard git at videolan.org
Fri Aug 10 16:31:43 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Wed Aug  8 18:18:14 2012 +0100| [d913fd1f00adbbba50c58384906ef40f5ec4850d] | committer: Mans Rullgard

libavutil: drop fallback definitions of INTxx_MIN/MAX

This list is incomplete (we also use UINT16_MAX), so there does
not appear to be any system we care about that needs these.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d913fd1f00adbbba50c58384906ef40f5ec4850d
---

 libavutil/internal.h |   32 --------------------------------
 1 file changed, 32 deletions(-)

diff --git a/libavutil/internal.h b/libavutil/internal.h
index 4c1d2f6..58e5568 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -52,38 +52,6 @@ struct AVDictionary {
 #endif
 #endif
 
-#ifndef INT16_MIN
-#define INT16_MIN       (-0x7fff - 1)
-#endif
-
-#ifndef INT16_MAX
-#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
-
-#ifndef INT64_MAX
-#define INT64_MAX INT64_C(9223372036854775807)
-#endif
-
-#ifndef UINT64_MAX
-#define UINT64_MAX UINT64_C(0xFFFFFFFFFFFFFFFF)
-#endif
-
 #ifndef INT_BIT
 #    define INT_BIT (CHAR_BIT * sizeof(int))
 #endif



More information about the ffmpeg-cvslog mailing list