[vlc-devel] [PATCH] Fixed warning on deprecated av_set_cpu_flags_mask usage
Jean-Baptiste Kempf
jb at videolan.org
Sun Dec 1 17:15:47 CET 2013
On 01 Dec, Jean-Baptiste Kempf wrote :
> 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?
For example are you sure libav and FFmpeg have it?
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list