Commit 8bf315eb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix compilation on older versions of libavutil

parent aa0cc2d5
......@@ -38,7 +38,10 @@ unsigned GetVlcDspMask( void );
static inline void vlc_init_avformat(void)
{
vlc_avcodec_lock();
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT( 51, 25, 0 )
av_set_cpu_flags_mask( INT_MAX & ~GetVlcDspMask() );
#endif
av_register_all();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment