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

Av* move GetVlcDspMask from avcodec.h to avcommon.h

parent 4a742a33
...@@ -29,8 +29,6 @@ int GetVlcFourcc( int i_ffmpeg_codec, int *pi_cat, ...@@ -29,8 +29,6 @@ int GetVlcFourcc( int i_ffmpeg_codec, int *pi_cat,
vlc_fourcc_t *pi_fourcc, const char **ppsz_name ); vlc_fourcc_t *pi_fourcc, const char **ppsz_name );
void GetVlcAudioFormat( vlc_fourcc_t *, unsigned *pi_bits, int i_sample_fmt ); void GetVlcAudioFormat( vlc_fourcc_t *, unsigned *pi_bits, int i_sample_fmt );
unsigned GetVlcDspMask( void );
picture_t * DecodeVideo( decoder_t *, block_t ** ); picture_t * DecodeVideo( decoder_t *, block_t ** );
block_t * DecodeAudio( decoder_t *, block_t ** ); block_t * DecodeAudio( decoder_t *, block_t ** );
subpicture_t *DecodeSubtitle( decoder_t *p_dec, block_t ** ); subpicture_t *DecodeSubtitle( decoder_t *p_dec, block_t ** );
......
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <vlc_configuration.h> #include <vlc_configuration.h>
#include <vlc_variables.h> #include <vlc_variables.h>
unsigned GetVlcDspMask( void );
#ifdef HAVE_LIBAVFORMAT_AVFORMAT_H #ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
# include <libavformat/avformat.h> # include <libavformat/avformat.h>
static inline void vlc_init_avformat(void) static inline void vlc_init_avformat(void)
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#define HAVE_MMX 1 #define HAVE_MMX 1
#include <libavcodec/avcodec.h> #include <libavcodec/avcodec.h>
#include "avcodec.h" #include "avcommon.h"
/** /**
* Maps CPU capabilities computed by VLC to libav DSP mask. * Maps CPU capabilities computed by VLC to libav DSP mask.
......
...@@ -44,6 +44,7 @@ libavi_plugin_la_LIBADD = $(AM_LIBADD) ...@@ -44,6 +44,7 @@ libavi_plugin_la_LIBADD = $(AM_LIBADD)
libavformat_plugin_la_SOURCES = avformat/demux.c \ libavformat_plugin_la_SOURCES = avformat/demux.c \
../codec/avcodec/fourcc.c \ ../codec/avcodec/fourcc.c \
../codec/avcodec/chroma.c \ ../codec/avcodec/chroma.c \
../codec/avcodec/cpu.c \
../codec/avcodec/avcommon.h \ ../codec/avcodec/avcommon.h \
vobsub.h \ vobsub.h \
avformat/avformat.c avformat/avformat.h avformat/avformat.c avformat/avformat.h
......
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