opnsense-ports/multimedia/ffmpeg/files/patch-libavutil-common.h
Franco Fichtner 1d90ac5d50 */*: sync with upstream
Taken from: FreeBSD
2015-07-03 08:07:16 +02:00

13 lines
331 B
C

--- libavutil/common.h.orig 2015-06-19 20:44:53 UTC
+++ libavutil/common.h
@@ -49,6 +49,10 @@
# define AV_NE(be, le) (le)
#endif
+#ifndef UINT64_C
+#define UINT64_C(c) (c ## UL)
+#endif
+
//rounded division & shift
#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
/* assume b>0 */