@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := ffmpeg
PKG_NAME := ffmpeg
PKG_VERSION := 4.2.2
PKG_VERSION := 4.2.2
PKG_RELEASE := 2
PKG_RELEASE := 3
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://ffmpeg.org/releases/
PKG_SOURCE_URL := https://ffmpeg.org/releases/
@ -411,7 +411,7 @@ FFMPEG_CONFIGURE+= \
--disable-fast-unaligned \
--disable-fast-unaligned \
--disable-runtime-cpudetect
--disable-runtime-cpudetect
e l s e i f n e q ( $( findstring arm ,$ ( CONFIG_ARCH ) ) , )
e l s e i f n e q ( $( findstring arm ,$ ( CONFIG_ARCH ) ) $( findstring aarch 64,$ ( CONFIG_ARCH ) ) , )
FFMPEG_CONFIGURE += \
FFMPEG_CONFIGURE += \
--disable-runtime-cpudetect
--disable-runtime-cpudetect
# XXX: GitHub issue 3320 ppc cpu with fpu but no altivec (WNDR4700)
# XXX: GitHub issue 3320 ppc cpu with fpu but no altivec (WNDR4700)
@ -438,6 +438,13 @@ ifneq ($(findstring arm,$(CONFIG_ARCH)),)
endif
endif
e n d i f
e n d i f
i f n e q ( $( findstring aarch 64,$ ( CONFIG_ARCH ) ) , )
FFMPEG_CONFIGURE += \
--enable-lto \
--enable-neon \
--enable-vfp
e n d i f
i f e q ( $( ARCH ) , x 8 6 _ 6 4 )
i f e q ( $( ARCH ) , x 8 6 _ 6 4 )
FFMPEG_CONFIGURE += --enable-lto
FFMPEG_CONFIGURE += --enable-lto
e n d i f
e n d i f