mirror of https://github.com/mpv-player/mpv
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8027 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d7f71bd743
commit
94b6f5baba
|
@ -41,9 +41,13 @@ extern ad_functions_t mpcodecs_ad_qtaudio;
|
|||
ad_functions_t* mpcodecs_ad_drivers[] =
|
||||
{
|
||||
// &mpcodecs_ad_null,
|
||||
#ifdef USE_MP3LIB
|
||||
&mpcodecs_ad_mp3lib,
|
||||
#endif
|
||||
#ifdef USE_LIBA52
|
||||
&mpcodecs_ad_liba52,
|
||||
&mpcodecs_ad_hwac3,
|
||||
#endif
|
||||
#ifdef USE_LIBAVCODEC
|
||||
&mpcodecs_ad_ffmpeg,
|
||||
#endif
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
#ifdef USE_LIBA52
|
||||
|
||||
#include "mp_msg.h"
|
||||
#include "help_mp.h"
|
||||
|
||||
|
@ -102,3 +104,4 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int m
|
|||
|
||||
return 6144;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
#ifdef USE_LIBA52
|
||||
|
||||
#include "mp_msg.h"
|
||||
#include "help_mp.h"
|
||||
|
||||
|
@ -189,3 +191,4 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int m
|
|||
}
|
||||
return len;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include "config.h"
|
||||
#ifdef USE_MP3LIB
|
||||
|
||||
#include "ad_internal.h"
|
||||
|
||||
static ad_info_t info =
|
||||
|
@ -77,3 +79,4 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int m
|
|||
{
|
||||
return MP3_DecodeFrame(buf,-1);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#include "../../config.h"
|
||||
|
||||
#ifdef USE_SVQ1
|
||||
|
||||
#include "bswap.h"
|
||||
|
||||
/* variable length (bit) code */
|
||||
|
@ -793,3 +796,4 @@ void svq1_free (svq1_t *svq1){
|
|||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -97,13 +97,17 @@ vd_functions_t* mpcodecs_vd_drivers[] = {
|
|||
&mpcodecs_vd_ijpg,
|
||||
#endif
|
||||
&mpcodecs_vd_mtga,
|
||||
#ifdef USE_LIBMPEG2
|
||||
&mpcodecs_vd_libmpeg2,
|
||||
#endif
|
||||
&mpcodecs_vd_huffyuv,
|
||||
&mpcodecs_vd_mpegpes,
|
||||
#ifdef USE_REALCODECS
|
||||
&mpcodecs_vd_realvid,
|
||||
#endif
|
||||
#ifdef USE_SVQ1
|
||||
&mpcodecs_vd_svq1,
|
||||
#endif
|
||||
#ifdef HAVE_XVID
|
||||
&mpcodecs_vd_xvid,
|
||||
#endif
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "config.h"
|
||||
#ifdef USE_LIBMPEG2
|
||||
|
||||
#include "mp_msg.h"
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
@ -303,3 +305,4 @@ while(current<end){
|
|||
|
||||
return mpi;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "config.h"
|
||||
#ifdef USE_SVQ1
|
||||
|
||||
#include "mp_msg.h"
|
||||
|
||||
#include "vd_internal.h"
|
||||
|
@ -85,3 +87,4 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
|||
return mpi;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue