[vlc-devel] [PATCH] Fixed warning on deprecated av_set_cpu_flags_mask usage

Jean-Baptiste Kempf jb at videolan.org
Sun Dec 1 17:00:11 CET 2013


On 23 Nov, Maxim Bublis wrote :
>      /* set CPU capabilities */
>  #if LIBAVUTIL_VERSION_CHECK(51, 25, 0, 42, 100)
> -    av_set_cpu_flags_mask( INT_MAX & ~GetVlcDspMask() );
> +    av_force_cpu_flags( av_get_cpu_flags() );
>  #else
>      p_context->dsp_mask = GetVlcDspMask();
>  #endif

Are you sure it works in all versions of libavutil?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list