Martin Storsjö <[email protected]> writes:

> This fixes building for iPhone 2G/3G (with --cpu=arm1176jzf-s).
> ---
>  libavcodec/arm/ac3dsp_armv6.S |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/arm/ac3dsp_armv6.S b/libavcodec/arm/ac3dsp_armv6.S
> index d3058ff..3703f15 100644
> --- a/libavcodec/arm/ac3dsp_armv6.S
> +++ b/libavcodec/arm/ac3dsp_armv6.S
> @@ -37,7 +37,11 @@ function ff_ac3_bit_alloc_calc_bap_armv6, export=1
>          ldrb            r10, [r4], #1
>  1:
>          ldrsh           r9,  [r0], #2                   @ mask[band]
> +#if CONFIG_ARMV6T2
>          movw            r8,  #0x1fe0
> +#else
> +        ldr             r8,  =0x1fe0
> +#endif

Use the mov32 macro from asm.S.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to