[FFmpeg-devel] [PATCH]Fix arm compilation with --disable-neon

Michael Niedermayer michaelni at gmx.at
Tue Mar 10 12:10:46 CET 2015


On Tue, Mar 10, 2015 at 12:03:35PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes compilation for arm with --disable-neon, 
> reported by Sebastian Holmqvist.
> 
> Please comment, Carl Eugen

>  hevcdsp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> a2e07b355b70d0a91f1c0622fd2e40c04a1a52d7  patchhevcneon.diff
> diff --git a/libavcodec/hevcdsp.c b/libavcodec/hevcdsp.c
> index 04af178..b7a4729 100644
> --- a/libavcodec/hevcdsp.c
> +++ b/libavcodec/hevcdsp.c
> @@ -259,6 +259,6 @@ int i = 0;
>  
>      if (ARCH_X86)
>          ff_hevc_dsp_init_x86(hevcdsp, bit_depth);
> -    if (ARCH_ARM)
> +    if (HAVE_NEON)
>          ff_hevcdsp_init_arm(hevcdsp, bit_depth);

probably ok unless someone intends to add non neon optimizations

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150310/b4e5df7b/attachment.asc>


More information about the ffmpeg-devel mailing list