Commit aa0cc2d5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avformat: set the dsp mask too

parent a41dcb95
......@@ -29,6 +29,8 @@
#include <vlc_configuration.h>
#include <vlc_variables.h>
#include <limits.h>
unsigned GetVlcDspMask( void );
#ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
......@@ -36,6 +38,7 @@ unsigned GetVlcDspMask( void );
static inline void vlc_init_avformat(void)
{
vlc_avcodec_lock();
av_set_cpu_flags_mask( INT_MAX & ~GetVlcDspMask() );
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