Files
ports/multimedia/ffmpeg6/files/patch-libavutil-common.h
T
Thierry Thomas ebf478f80f multimedia/ffmpeg6: upgrade to 6.1.4
Since this is a legacy version only intended to be used as a dependency
remove the options: only the previously default options are kept.

PR:		278913
2026-03-15 22:53:18 +00:00

14 lines
333 B
C

--- libavutil/common.h.orig 2025-11-23 02:58:01 UTC
+++ libavutil/common.h
@@ -43,6 +43,10 @@
#include "error.h"
#include "macros.h"
+#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 */