[MPlayer-dev-eng] [PATCH] Override binary codec path
KO Myung-Hun
komh at chollian.net
Tue Mar 9 14:00:37 CET 2010
Diego Biurrun wrote:
> 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?
>
Splitted.
>> @@ -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
>
Fixed.
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.0.3
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1GHz with 512 MB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: get_path_osdep.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100309/e5532943/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: set_codec_path.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100309/e5532943/attachment.txt>
More information about the MPlayer-dev-eng
mailing list