mirror of
https://github.com/mpv-player/mpv
synced 2025-04-18 05:07:18 +00:00
Make vd_functions_t describing codecs const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30561 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8a67379319
commit
9c5a56a1c4
@ -39,28 +39,28 @@
|
||||
|
||||
//#include "vd_internal.h"
|
||||
|
||||
extern vd_functions_t mpcodecs_vd_null;
|
||||
extern vd_functions_t mpcodecs_vd_ffmpeg;
|
||||
extern vd_functions_t mpcodecs_vd_theora;
|
||||
extern vd_functions_t mpcodecs_vd_dshow;
|
||||
extern vd_functions_t mpcodecs_vd_dmo;
|
||||
extern vd_functions_t mpcodecs_vd_vfw;
|
||||
extern vd_functions_t mpcodecs_vd_vfwex;
|
||||
extern vd_functions_t mpcodecs_vd_raw;
|
||||
extern vd_functions_t mpcodecs_vd_hmblck;
|
||||
extern vd_functions_t mpcodecs_vd_xanim;
|
||||
extern vd_functions_t mpcodecs_vd_mpng;
|
||||
extern vd_functions_t mpcodecs_vd_ijpg;
|
||||
extern vd_functions_t mpcodecs_vd_mtga;
|
||||
extern vd_functions_t mpcodecs_vd_sgi;
|
||||
extern vd_functions_t mpcodecs_vd_libmpeg2;
|
||||
extern vd_functions_t mpcodecs_vd_mpegpes;
|
||||
extern vd_functions_t mpcodecs_vd_zrmjpeg;
|
||||
extern vd_functions_t mpcodecs_vd_realvid;
|
||||
extern vd_functions_t mpcodecs_vd_xvid;
|
||||
extern vd_functions_t mpcodecs_vd_libdv;
|
||||
extern vd_functions_t mpcodecs_vd_lzo;
|
||||
extern vd_functions_t mpcodecs_vd_qtvideo;
|
||||
extern const vd_functions_t mpcodecs_vd_null;
|
||||
extern const vd_functions_t mpcodecs_vd_ffmpeg;
|
||||
extern const vd_functions_t mpcodecs_vd_theora;
|
||||
extern const vd_functions_t mpcodecs_vd_dshow;
|
||||
extern const vd_functions_t mpcodecs_vd_dmo;
|
||||
extern const vd_functions_t mpcodecs_vd_vfw;
|
||||
extern const vd_functions_t mpcodecs_vd_vfwex;
|
||||
extern const vd_functions_t mpcodecs_vd_raw;
|
||||
extern const vd_functions_t mpcodecs_vd_hmblck;
|
||||
extern const vd_functions_t mpcodecs_vd_xanim;
|
||||
extern const vd_functions_t mpcodecs_vd_mpng;
|
||||
extern const vd_functions_t mpcodecs_vd_ijpg;
|
||||
extern const vd_functions_t mpcodecs_vd_mtga;
|
||||
extern const vd_functions_t mpcodecs_vd_sgi;
|
||||
extern const vd_functions_t mpcodecs_vd_libmpeg2;
|
||||
extern const vd_functions_t mpcodecs_vd_mpegpes;
|
||||
extern const vd_functions_t mpcodecs_vd_zrmjpeg;
|
||||
extern const vd_functions_t mpcodecs_vd_realvid;
|
||||
extern const vd_functions_t mpcodecs_vd_xvid;
|
||||
extern const vd_functions_t mpcodecs_vd_libdv;
|
||||
extern const vd_functions_t mpcodecs_vd_lzo;
|
||||
extern const vd_functions_t mpcodecs_vd_qtvideo;
|
||||
|
||||
/* Please do not add any new decoders here. If you want to implement a new
|
||||
* decoder, add it to libavcodec, except for wrappers around external
|
||||
|
@ -37,7 +37,7 @@ static int init(sh_video_t *sh);
|
||||
static void uninit(sh_video_t *sh);
|
||||
static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags);
|
||||
|
||||
#define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\
|
||||
#define LIBVD_EXTERN(x) const vd_functions_t mpcodecs_vd_##x = {\
|
||||
&info,\
|
||||
init,\
|
||||
uninit,\
|
||||
|
Loading…
Reference in New Issue
Block a user