[MPlayer-dev-eng] [PATCH] Override binary codec path

Diego Biurrun diego at biurrun.de
Mon Mar 8 18:21:36 CET 2010


On Sun, Mar 07, 2010 at 01:13:58AM +0900, KO Myung-Hun wrote:
> 
> This patch overrides the binary codec path on OS/2.
> 
> --- get_path.c	(revision 30850)
> +++ get_path.c	(working copy)
> @@ -40,11 +40,10 @@
>  #elif defined(__CYGWIN__)
>  #include <windows.h>
>  #include <sys/cygwin.h>
> -#elif defined(__OS2__)
> -#define INCL_DOS
> -#include <os2.h>
>  #endif
> 
> +#include "osdep/osdep.h"

Unrelated?

> @@ -193,3 +192,56 @@
> +
> +    // Absolute path ?
> +    if ((codecs_dir[0] && codecs_dir[1] == ':') ||
> +        (codecs_dir[0] == '/' || codecs_dir[0] == '\\'))
> +    {
> +
> +        if (codecs_dir[0] == '/' || codecs_dir[0] == '\\')
> +        {

K&R style please

Diego



More information about the MPlayer-dev-eng mailing list