Hi,

On Sun, Dec 16, 2012 at 9:33 AM, Luca Barbato <[email protected]> wrote:
> +void ff_videodsp_init_x86(VideoDSPContext *ctx, int bpc)
[..]
> +{
> +#if HAVE_YASM
> +    int mm_flags = av_get_cpu_flags();
> +
> +#if ARCH_X86_32
> +    if (bpc <= 8 && mm_flags & AV_CPU_FLAG_MMX) {
> +        c->emulated_edge_mc = emulated_edge_mc_mmx;

s/c/ctx/.

> +    }
> +    if (mm_flags & AV_CPU_FLAG_AMD3DNOW) {

AV_CPU_FLAG_3DNOW.

Then it compiles on x86-32 also. I haven't tested on ppc or arm.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to