[MPlayer-cvslog] r31475 - trunk/codec-cfg.c

reimar subversion at mplayerhq.hu
Sat Jun 19 20:44:43 CEST 2010


Author: reimar
Date: Sat Jun 19 20:44:43 2010
New Revision: 31475

Log:
Remove unused parsehtml parameters.

Modified:
   trunk/codec-cfg.c

Modified: trunk/codec-cfg.c
==============================================================================
--- trunk/codec-cfg.c	Sat Jun 19 20:37:06 2010	(r31474)
+++ trunk/codec-cfg.c	Sat Jun 19 20:44:43 2010	(r31475)
@@ -931,7 +931,7 @@ static void wrapline(FILE *f2,char *s){
     }
 }
 
-static void parsehtml(FILE *f1,FILE *f2,codecs_t *codec,int section,int dshow){
+static void parsehtml(FILE *f1,FILE *f2,codecs_t *codec){
     int c,d;
     while((c=fgetc(f1))>=0){
         if(c!='%'){
@@ -1137,30 +1137,30 @@ int main(int argc, char* argv[])
                 case 5:
                     if(cl[i].status==CODECS_STATUS_WORKING)
 //                if(!(!strcmp(cl[i].drv,"vfw") || !strcmp(cl[i].drv,"dshow") || !strcmp(cl[i].drv,"vfwex") || !strcmp(cl[i].drv,"acm")))
-                        parsehtml(f1,f2,&cl[i],section,dshow);
+                        parsehtml(f1,f2,&cl[i]);
                     break;
 #if 0
                 case 1:
                 case 6:
                     if(cl[i].status==CODECS_STATUS_WORKING)
                         if((!strcmp(cl[i].drv,"vfw") || !strcmp(cl[i].drv,"dshow") || !strcmp(cl[i].drv,"vfwex") || !strcmp(cl[i].drv,"acm")))
-                            parsehtml(f1,f2,&cl[i],section,dshow);
+                            parsehtml(f1,f2,&cl[i]);
                     break;
 #endif
                 case 2:
                 case 7:
                     if(cl[i].status==CODECS_STATUS_PROBLEMS)
-                        parsehtml(f1,f2,&cl[i],section,dshow);
+                        parsehtml(f1,f2,&cl[i]);
                     break;
                 case 3:
                 case 8:
                     if(cl[i].status==CODECS_STATUS_NOT_WORKING)
-                        parsehtml(f1,f2,&cl[i],section,dshow);
+                        parsehtml(f1,f2,&cl[i]);
                     break;
                 case 4:
                 case 9:
                     if(cl[i].status==CODECS_STATUS_UNTESTED)
-                        parsehtml(f1,f2,&cl[i],section,dshow);
+                        parsehtml(f1,f2,&cl[i]);
                     break;
                 default:
                     printf("Warning! unimplemented section: %d\n",section);
@@ -1168,7 +1168,6 @@ int main(int argc, char* argv[])
             }
             fseek(f1,pos,SEEK_SET);
             skiphtml(f1);
-//void parsehtml(FILE *f1,FILE *f2,codecs_t *codec,int section,int dshow){
 
             continue;
         }


More information about the MPlayer-cvslog mailing list