[Mplayer-cvslog] CVS: main codec-cfg.c,1.61,1.62
Arpi of Ize
arpi at mplayer.dev.hu
Mon Jan 7 01:52:12 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv4657
Modified Files:
codec-cfg.c
Log Message:
10l to Ivan
Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- codec-cfg.c 4 Jan 2002 05:56:52 -0000 1.61
+++ codec-cfg.c 7 Jan 2002 00:52:09 -0000 1.62
@@ -797,7 +797,7 @@
int main(void)
{
- codecs_t **codecs, *cl;
+ codecs_t *cl;
FILE *f1;
FILE *f2;
int c,d,i;
@@ -808,12 +808,8 @@
int dshow=-1;
int win32ex=-1;
- if (!(codecs = parse_codec_cfg("etc/codecs.conf")))
+ if (!(nr_codecs = parse_codec_cfg("etc/codecs.conf")))
return 0;
- if (!codecs[0])
- printf("no videoconfig.\n");
- if (!codecs[1])
- printf("no audioconfig.\n");
f1=fopen("DOCS/codecs-in.html","rb"); if(!f1) exit(1);
f2=fopen("DOCS/codecs-status.html","wb"); if(!f2) exit(1);
@@ -830,12 +826,12 @@
printf("BEGIN %d\n",section);
if(section>=5){
// audio
- cl = codecs[1];
+ cl = audio_codecs;
nr_codecs = nr_acodecs;
dshow=7;win32=4;
} else {
// video
- cl = codecs[0];
+ cl = video_codecs;
nr_codecs = nr_vcodecs;
dshow=4;win32=2;win32ex=6;
}
More information about the MPlayer-cvslog
mailing list