freebsd-ports/multimedia/ffmpeg/files/patch-libavutil-common.h

14 lines
331 B
C
Raw Normal View History

--- 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
2010-07-24 18:38:20 +02:00
+#ifndef UINT64_C
+#define UINT64_C(c) (c ## UL)
2010-07-24 18:38:20 +02:00
+#endif
+
//rounded division & shift
#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
/* assume b>0 */