mirror of https://github.com/mpv-player/mpv
Remove unused fmt_list array, fixes the warnings:
vf_ow.c:296: warning: 'fmt_list' defined but not used vf_spp.c:544: warning: 'fmt_list' defined but not used vf_uspp.c:334: warning: 'fmt_list' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24893 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
82eef16f4d
commit
80e1a70e8a
|
@ -293,21 +293,6 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int fmt_list[]={
|
||||
IMGFMT_YVU9,
|
||||
IMGFMT_IF09,
|
||||
IMGFMT_YV12,
|
||||
IMGFMT_I420,
|
||||
IMGFMT_IYUV,
|
||||
IMGFMT_CLPL,
|
||||
IMGFMT_Y800,
|
||||
IMGFMT_Y8,
|
||||
IMGFMT_444P,
|
||||
IMGFMT_422P,
|
||||
IMGFMT_411P,
|
||||
0
|
||||
};
|
||||
|
||||
|
||||
static int open(vf_instance_t *vf, char* args){
|
||||
vf->config=config;
|
||||
|
|
|
@ -541,21 +541,6 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int fmt_list[]={
|
||||
IMGFMT_YVU9,
|
||||
IMGFMT_IF09,
|
||||
IMGFMT_YV12,
|
||||
IMGFMT_I420,
|
||||
IMGFMT_IYUV,
|
||||
IMGFMT_CLPL,
|
||||
IMGFMT_Y800,
|
||||
IMGFMT_Y8,
|
||||
IMGFMT_444P,
|
||||
IMGFMT_422P,
|
||||
IMGFMT_411P,
|
||||
0
|
||||
};
|
||||
|
||||
static int control(struct vf_instance_s* vf, int request, void* data){
|
||||
switch(request){
|
||||
case VFCTRL_QUERY_MAX_PP_LEVEL:
|
||||
|
|
|
@ -331,15 +331,6 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int fmt_list[]={
|
||||
IMGFMT_YV12,
|
||||
IMGFMT_I420,
|
||||
IMGFMT_IYUV,
|
||||
IMGFMT_Y800,
|
||||
IMGFMT_Y8,
|
||||
0
|
||||
};
|
||||
|
||||
static int control(struct vf_instance_s* vf, int request, void* data){
|
||||
switch(request){
|
||||
case VFCTRL_QUERY_MAX_PP_LEVEL:
|
||||
|
|
Loading…
Reference in New Issue