Skip to content

Commit cc66524

Browse files
Gijs Peskensagherzan
authored andcommitted
rpidistro-ffmpeg: Fix compilation on Whinlatter
Backport ffmpeg patch fixing assembler syntax Signed-off-by: Gijs Peskens <[email protected]>
1 parent e00b8ea commit cc66524

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Upstream-Status: Pending
2+
3+
diff --git a/libavcodec/arm/mlpdsp_armv5te.S b/libavcodec/arm/mlpdsp_armv5te.S
4+
index 4f9aa485fd21aabff582423703197dc0d05173dc..d31568611c30f67145e89332240dc6a5246e68c7 100644 (file)
5+
--- a/libavcodec/arm/mlpdsp_armv5te.S
6+
+++ b/libavcodec/arm/mlpdsp_armv5te.S
7+
@@ -229,7 +229,7 @@ A .endif
8+
.endif
9+
10+
// Begin loop
11+
-01:
12+
+1:
13+
.if TOTAL_TAPS == 0
14+
// Things simplify a lot in this case
15+
// In fact this could be pipelined further if it's worth it...
16+
@@ -241,7 +241,7 @@ A .endif
17+
str ST0, [PST, #-4]!
18+
str ST0, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
19+
str ST0, [PSAMP], #4 * MAX_CHANNELS
20+
- bne 01b
21+
+ bne 1b
22+
.else
23+
.if \fir_taps & 1
24+
.set LOAD_REG, 1
25+
@@ -333,7 +333,7 @@ T orr AC0, AC0, AC1
26+
str ST3, [PST, #-4]!
27+
str ST2, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
28+
str ST3, [PSAMP], #4 * MAX_CHANNELS
29+
- bne 01b
30+
+ bne 1b
31+
.endif
32+
b 99f
33+

recipes-multimedia/rpidistro-ffmpeg/rpidistro-ffmpeg_5.1.4.bb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ DEPENDS = "nasm-native"
3434

3535
inherit autotools pkgconfig
3636
PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc ffplay \
37-
v4l2 drm udev alsa bzlib lzma pic pthreads shared theora zlib libvorbis x264 gpl \
37+
v4l2 drm udev alsa bzlib lzma pic pthreads shared theora zlib gpl \
3838
${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mmal sand vout-drm', d)} \
3939
${@bb.utils.contains('AVAILTUNES', 'mips32r2', 'mips32r2', '', d)} \
40-
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \
41-
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', '', d)} \
42-
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'epoxy vout-egl', '', d)}"
40+
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', '', d)}"
41+
4342

4443
SRC_URI = "\
4544
git://[email protected]/RPi-Distro/ffmpeg;protocol=https;branch=pios/bookworm \
4645
file://0001-ffmpeg-5.1.4-rpi_24.patch \
4746
file://2001-configure-setup-for-OE-core-usage.patch \
4847
file://2004-libavcodec-omx-replace-opt-vc-path-with-usr-lib.patch \
48+
file://2024-fix-compile-newer-binutils.patch \
4949
"
5050

5151
SRCREV = "1c363463c432c5ed492c7b759abb6e015b93b6b5"

0 commit comments

Comments
 (0)