mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
To be used exclusively with emulators/ppsspp as newer versions are incompatible due to how the hardware in the Sony PSP works. FFmpeg is stripped down to avoid incompatbilities with external dependencies, only provides static libraries to avoid getting pull in unintentionally and is statically linked to PPSSPP. PR: 282188, 282792
13 lines
333 B
C
13 lines
333 B
C
--- libavutil/common.h.orig 2024-05-15 16:55:52 UTC
|
|
+++ libavutil/common.h
|
|
@@ -50,6 +50,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 */
|