freebsd-ports/multimedia/ffmpeg/files/patch-libavutil-common.h
Thomas Zander a93a44040e - Update multimdedia/ffmpeg to latest upstrem version 2.7.1
- Mark ports BROKEN that were discovered not to work with
  this update; discovered by exp-run in bug 201181
- Note the need for manual upgrade of dependent ports in
  UPDATING
2015-07-02 19:40:15 +00: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 */