[SCM] libav/experimental: UINT64_MAX fix

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:40:21 UTC 2013


The following commit has been merged in the experimental branch:
commit caa50878f4c5f323467ada8f1b63458bf5f7b810
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Tue May 11 12:24:42 2004 +0000

    UINT64_MAX fix
    
    Originally committed as revision 3125 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/common.h b/libavcodec/common.h
index b0a3db5..d398b39 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -115,6 +115,10 @@ extern const struct AVOption avoptions_workaround_bug[11];
 #define INT64_MAX int64_t_C(9223372036854775807)
 #endif
 
+#ifndef UINT64_MAX
+#define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF)
+#endif
+
 #ifdef EMULATE_FAST_INT
 /* note that we don't emulate 64bit ints */
 typedef signed char int_fast8_t;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list