On Tue, Dec 04, 2012 at 12:17:08AM +0000, Mans Rullgard wrote:
> --- a/configure
> +++ b/configure
> @@ -1193,6 +1193,7 @@ HAVE_LIST="
> asm_mod_y
> attribute_may_alias
> attribute_packed
> + asm_hwcap_h
order
> --- a/libavutil/arm/cpu.c
> +++ b/libavutil/arm/cpu.c
> @@ -19,6 +19,64 @@
> +
> +#define check_cap(cap, flag) do { \
> + if (auxv.a_un.a_val & HWCAP_ ## cap) \
> + flags |= AV_CPU_FLAG_ ## flag; \
> + } while (0)
This would look a tad less strange with "do" on the next line, whatever
you prefer.
Patch should be OK.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel