[MPlayer-cvslog] r24893 - in trunk/libmpcodecs: vf_ow.c vf_spp.c vf_uspp.c

diego subversion at mplayerhq.hu
Tue Oct 30 16:24:10 CET 2007


Author: diego
Date: Tue Oct 30 16:24:09 2007
New Revision: 24893

Log:
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


Modified:
   trunk/libmpcodecs/vf_ow.c
   trunk/libmpcodecs/vf_spp.c
   trunk/libmpcodecs/vf_uspp.c

Modified: trunk/libmpcodecs/vf_ow.c
==============================================================================
--- trunk/libmpcodecs/vf_ow.c	(original)
+++ trunk/libmpcodecs/vf_ow.c	Tue Oct 30 16:24:09 2007
@@ -293,21 +293,6 @@ static int query_format(struct vf_instan
     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;

Modified: trunk/libmpcodecs/vf_spp.c
==============================================================================
--- trunk/libmpcodecs/vf_spp.c	(original)
+++ trunk/libmpcodecs/vf_spp.c	Tue Oct 30 16:24:09 2007
@@ -541,21 +541,6 @@ static int query_format(struct vf_instan
     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:

Modified: trunk/libmpcodecs/vf_uspp.c
==============================================================================
--- trunk/libmpcodecs/vf_uspp.c	(original)
+++ trunk/libmpcodecs/vf_uspp.c	Tue Oct 30 16:24:09 2007
@@ -331,15 +331,6 @@ static int query_format(struct vf_instan
     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:



More information about the MPlayer-cvslog mailing list