Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b38d11c

Browse files
committed
take arch from platform utility
1 parent aba56c7 commit b38d11c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎localstack-core/localstack/packages/ffmpeg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
from localstack.packages import Package
55
from localstack.packages.core import ArchiveDownloadAndExtractInstaller
6-
from localstack.utils.platform import get_arch
6+
from localstack.utils.platform import Arch, get_arch
77

88
# Mapping LocalStack architecture to BtbN's naming convention
9-
ARCH_MAPPING = {"amd64": "linux64", "arm64": "linuxarm64"}
9+
ARCH_MAPPING = {Arch.amd64: "linux64", Arch.arm64: "linuxarm64"}
1010

1111
# Download URL template for ffmpeg 7.1 LGPL builds from BtbN GitHub Releases
1212
FFMPEG_STATIC_BIN_URL = "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n{version}-latest-{arch}-lgpl-{version}.tar.xz"

0 commit comments

Comments
 (0)