Mercurial > mplayer.hg
comparison codec-cfg.c @ 8472:e241942f6aee
10l
foudn by Steven Schultz
author | arpi |
---|---|
date | Mon, 16 Dec 2002 02:22:37 +0000 |
parents | 3ca9cc46df5c |
children | e89a7e9410b4 |
comparison
equal
deleted
inserted
replaced
8471:0b7839c27be9 | 8472:e241942f6aee |
---|---|
488 #ifdef CODECS2HTML | 488 #ifdef CODECS2HTML |
489 return 0; | 489 return 0; |
490 #else | 490 #else |
491 video_codecs = builtin_video_codecs; | 491 video_codecs = builtin_video_codecs; |
492 audio_codecs = builtin_audio_codecs; | 492 audio_codecs = builtin_audio_codecs; |
493 nr_vcodecs = sizeof(builtin_video_codecs)/sizeof(codecs_t) - 1; | 493 nr_vcodecs = sizeof(builtin_video_codecs)/sizeof(codecs_t); |
494 nr_acodecs = sizeof(builtin_audio_codecs)/sizeof(codecs_t) - 1; | 494 nr_acodecs = sizeof(builtin_audio_codecs)/sizeof(codecs_t); |
495 return 1; | 495 return 1; |
496 #endif | 496 #endif |
497 } | 497 } |
498 | 498 |
499 mp_msg(MSGT_CODECCFG,MSGL_INFO,"Reading %s: ", cfgfile); | 499 mp_msg(MSGT_CODECCFG,MSGL_INFO,"Reading %s: ", cfgfile); |
987 | 987 |
988 printf("/* GENERATED FROM %s, DO NOT EDIT! */\n\n",argv[1]); | 988 printf("/* GENERATED FROM %s, DO NOT EDIT! */\n\n",argv[1]); |
989 | 989 |
990 for (i=0; i<2; i++) { | 990 for (i=0; i<2; i++) { |
991 printf("codecs_t %s[] = {\n", nm[i]); | 991 printf("codecs_t %s[] = {\n", nm[i]); |
992 for (j = 0; j <= nr[i]; j++) { | 992 for (j = 0; j < nr[i]; j++) { |
993 printf("{"); | 993 printf("{"); |
994 | 994 |
995 print_int_array(cod[i][j].fourcc, CODECS_MAX_FOURCC); | 995 print_int_array(cod[i][j].fourcc, CODECS_MAX_FOURCC); |
996 printf(", /* fourcc */\n"); | 996 printf(", /* fourcc */\n"); |
997 | 997 |