Skip to content
Closed

Patch #239

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions patches/ffmpeg.patch
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,3 @@ index 8f9fb04115..a70c24378d 100755
gmp
libaribb24
liblensfun
diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c
index 8cc91625c7..481d63a39f 100644
--- a/libavutil/riscv/cpu.c
+++ b/libavutil/riscv/cpu.c
@@ -36,6 +36,7 @@
#include <sys/hwprobe.h>
#elif HAVE_ASM_HWPROBE_H
#include <asm/hwprobe.h>
+#include <asm/unistd.h>
#include <sys/syscall.h>
#include <unistd.h>
2 changes: 1 addition & 1 deletion scripts/build-ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def main():
)

packages = []
if plat != "Darwin" and "nasm" not in available_tools and machine not in {"arm64", "aarch64"}:
if plat != "Darwin" and "nasm" not in available_tools and machine in {"x86_64", "amd64", "i686", "i386"}:
packages.append(nasm_package)
if use_alsa:
packages += [alsa_package]
Expand Down
Loading