# HG changeset patch # User reimar # Date 1276973083 0 # Node ID e30f35607bcf13173e34284498d4eb2fe910fc99 # Parent a8ff91f401e253b7f073d810b5dcbd265b6fab75 Remove unused parsehtml parameters. diff -r a8ff91f401e2 -r e30f35607bcf codec-cfg.c --- 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; }