changeset 31409:e30f35607bcf

Remove unused parsehtml parameters.
author reimar
date Sat, 19 Jun 2010 18:44:43 +0000
parents a8ff91f401e2
children 2dc4e130e7ba
files codec-cfg.c
diffstat 1 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Sat Jun 19 18:37:06 2010 +0000
+++ b/codec-cfg.c	Sat Jun 19 18:44:43 2010 +0000
@@ -931,7 +931,7 @@
     }
 }
 
-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 @@
                 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 @@
             }
             fseek(f1,pos,SEEK_SET);
             skiphtml(f1);
-//void parsehtml(FILE *f1,FILE *f2,codecs_t *codec,int section,int dshow){
 
             continue;
         }