summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-07 00:52:09 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-07 00:52:09 +0000
commit3c2caa21af8833128923331752233d42671461f1 (patch)
treef69ae77e1327e7af556f7e8811df1b4eab8833be /codec-cfg.c
parentd827bab408384e164fcc94fe83213520a80e44eb (diff)
downloadmpv-3c2caa21af8833128923331752233d42671461f1.tar.bz2
mpv-3c2caa21af8833128923331752233d42671461f1.tar.xz
10l to Ivan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4028 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index 1307bd9366..e44f7a1a70 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -797,7 +797,7 @@ void skiphtml(FILE *f1){
int main(void)
{
- codecs_t **codecs, *cl;
+ codecs_t *cl;
FILE *f1;
FILE *f2;
int c,d,i;
@@ -808,12 +808,8 @@ int main(void)
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 @@ int main(void)
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;
}