[MPlayer-dev-eng] [PATCH] codec-cfg.c docs path

D Richard Felker III dalias at aerifal.cx
Mon Oct 20 02:31:51 CEST 2003


On Mon, Oct 20, 2003 at 01:39:48AM +0200, Diego Biurrun wrote:
> Hi!
> 
> While updating the DOCS path in all of the sources I found a reference
> in codec-cfg.c that still needs to be fixed.  The problem is that if I
> apply the following patch
> 
> --- codec-cfg.c	12 Sep 2003 19:14:56 -0000	1.107
> +++ codec-cfg.c	19 Oct 2003 21:16:33 -0000
> @@ -1038,7 +1038,7 @@
>  	}
>  
>          f1=fopen("DOCS/tech/codecs-in.html","rb"); if(!f1) exit(1);
> -        f2=fopen("DOCS/en/codecs-status.html","wb"); if(!f2) exit(1);
> +        f2=fopen("DOCS/HTML/en/codecs-status.html","wb"); if(!f2) exit(1);
>          
>          while((c=fgetc(f1))>=0){
>              if(c!='%'){
> 
> codec-cfg will silently fail if the DOCS/HTML/en/ directory does not
> exist.  Is that a problem?  Or does everybody using that tool know
> what he/she is doing?

AFAIK, codec-cfg is used by the mplayer build process, so you had
better be VERY careful not to break it!

Rich



More information about the MPlayer-dev-eng mailing list