Mercurial > mplayer.hg
changeset 24865:57545b63efec
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
author | diego |
---|---|
date | Tue, 30 Oct 2007 15:24:09 +0000 |
parents | 419d6e4bf2f0 |
children | 124071207b17 |
files | libmpcodecs/vf_ow.c libmpcodecs/vf_spp.c libmpcodecs/vf_uspp.c |
diffstat | 3 files changed, 0 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_ow.c Tue Oct 30 13:15:41 2007 +0000 +++ b/libmpcodecs/vf_ow.c Tue Oct 30 15:24:09 2007 +0000 @@ -293,21 +293,6 @@ 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;
--- a/libmpcodecs/vf_spp.c Tue Oct 30 13:15:41 2007 +0000 +++ b/libmpcodecs/vf_spp.c Tue Oct 30 15:24:09 2007 +0000 @@ -541,21 +541,6 @@ 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:
--- a/libmpcodecs/vf_uspp.c Tue Oct 30 13:15:41 2007 +0000 +++ b/libmpcodecs/vf_uspp.c Tue Oct 30 15:24:09 2007 +0000 @@ -331,15 +331,6 @@ 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: