libav_0.7.4: Add bbappend to fix the build on ARMv6 for now.

* Having to disable armvfp feels VERY wrong so this is not going upstream until I work out why.
This commit is contained in:
David-John Willis 2012-04-12 22:19:52 +01:00
parent f5ab6d0e02
commit 7dbc0ca110
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff a/libavcodec/arm/ac3dsp_armv6.S b/libavcodec/arm/ac3dsp_armv6.S
--- a/libavcodec/arm/ac3dsp_armv6.S
+++ b/libavcodec/arm/ac3dsp_armv6.S
@@ -37,7 +37,7 @@ function ff_ac3_bit_alloc_calc_bap_armv6, export=1
ldrb r10, [r4], #1
1:
ldrsh r9, [r0], #2 @ mask[band]
- movw r8, #0x1fe0
+ ldr r8, =0x1fe0
sub r9, r9, r12 @ - snr_offset
mov r11, r10
ldrb r10, [r4], #1 @ band_start_tab[band++]

View File

@ -0,0 +1,8 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC = "1"
SRC_URI_append = " file://libavcodec-ac3dsp_armv6-patch-out-armv7.patch"
EXTRA_OECONF_append_raspberrypi = " \
--cpu=arm1176jzf-s --disable-armvfp --disable-neon \
"