Browse Source
Merge pull request #12224 from neheb/ffm2
ffmpeg: fix compilation with glibc
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
11 additions and
1 deletions
-
multimedia/ffmpeg/Makefile
-
multimedia/ffmpeg/patches/050-glibc.patch
|
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=ffmpeg |
|
|
|
PKG_VERSION:=4.2.2 |
|
|
|
PKG_RELEASE:=3 |
|
|
|
PKG_RELEASE:=4 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
|
PKG_SOURCE_URL:=https://ffmpeg.org/releases/ |
|
|
|
|
|
@ -0,0 +1,10 @@ |
|
|
|
--- a/libavcodec/wmv2dsp.c
|
|
|
|
+++ b/libavcodec/wmv2dsp.c
|
|
|
|
@@ -263,6 +263,6 @@ av_cold void ff_wmv2dsp_init(WMV2DSPContext *c)
|
|
|
|
c->put_mspel_pixels_tab[6] = put_mspel8_mc22_c; |
|
|
|
c->put_mspel_pixels_tab[7] = put_mspel8_mc32_c; |
|
|
|
|
|
|
|
- if (ARCH_MIPS)
|
|
|
|
+ if (ARCH_MIPS64)
|
|
|
|
ff_wmv2dsp_init_mips(c); |
|
|
|
} |