[FFmpeg-devel] [PATCH] os2threads: Add pthread_once()

2015-11-11 Thread KO Myung-Hun
--- compat/os2threads.h | 27 +++ 1 file changed, 27 insertions(+) diff --git a/compat/os2threads.h b/compat/os2threads.h index 5b6ca55..f8fb2c8 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -32,6 +32,8 @@ #undef __STRICT_ANSI__ /* for

Re: [FFmpeg-devel] [PATCH v2 2/3] compat/os2threads: support the return value of joined thread

2016-02-14 Thread KO Myung-Hun
Michael Niedermayer wrote: > On Mon, Feb 15, 2016 at 12:20:34AM +0900, KO Myung-Hun wrote: >> --- >> compat/os2threads.h | 39 ++- >> 1 file changed, 18 insertions(+), 21 deletions(-) > > applied > > btw, you should add y

[FFmpeg-devel] [PATCH] Improve os2threads

2016-02-13 Thread KO Myung-Hun
Hi/2. These are patches to improve os2threads. Review, please... [PATCH 1/3] compat/os2threads: Improve pthread_cond_xxx() functions [PATCH 2/3] compat/os2threads: support the return value of joined [PATCH 3/3] compat/os2threads: split long lines ___

[FFmpeg-devel] [PATCH 1/3] compat/os2threads: Improve pthread_cond_xxx() functions

2016-02-13 Thread KO Myung-Hun
1. Manipulate waiting count in pthread_cond_wait() 2. Use builtin atomic functions to manipulate waiting count --- compat/os2threads.h | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index 7c0fe13..b461f83 100644

[FFmpeg-devel] [PATCH 3/3] compat/os2threads: split long lines

2016-02-13 Thread KO Myung-Hun
--- compat/os2threads.h | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index f2e5d9f..5767190 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -70,7 +70,10 @@ static void thread_entry(void *arg)

[FFmpeg-devel] [PATCH 2/3] compat/os2threads: support the return value of joined thread

2016-02-13 Thread KO Myung-Hun
--- compat/os2threads.h | 39 ++- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index b461f83..f2e5d9f 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -35,9 +35,15 @@ #include #include

[FFmpeg-devel] [PATCH v2 2/3] compat/os2threads: support the return value of joined thread

2016-02-14 Thread KO Myung-Hun
--- compat/os2threads.h | 39 ++- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index 12cb7b0..3b289df 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -35,9 +35,15 @@ #include #include

[FFmpeg-devel] [PATCH v2 3/3] compat/os2threads: split long lines

2016-02-14 Thread KO Myung-Hun
--- compat/os2threads.h | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index 3b289df..40a119f 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -71,7 +71,10 @@ static void thread_entry(void *arg)

[FFmpeg-devel] [PATCH v2 0/3] Improve os2threads

2016-02-14 Thread KO Myung-Hun
Hi/2. These are v2 patches for os2threads. Replaced spin-locks with an event semaphore. [PATCH v2 1/3] compat/os2threads: Improve pthread_cond_xxx() [PATCH v2 2/3] compat/os2threads: support the return value of joined [PATCH v2 3/3] compat/os2threads: split long lines

[FFmpeg-devel] [PATCH v2 1/3] compat/os2threads: Improve pthread_cond_xxx() functions

2016-02-14 Thread KO Myung-Hun
1. Manipulate waiting count in pthread_cond_wait() 2. Use builtin atomic functions to manipulate waiting count --- compat/os2threads.h | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index 7c0fe13..12cb7b0

Re: [FFmpeg-devel] [PATCH 3/3] configure: Remove -Wredundant-decls on OS/2 to suppress noise.

2016-04-28 Thread KO Myung-Hun
stand /@unixroot notation. Or remove /@unixroot prefix from .pc files as a workaround. > So unless I miss something else, we should still apply this patch (as > fixing OS/2 libc headers won't happen any time soon). > -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with

Re: [FFmpeg-devel] [PATCH 2/3] configure: Do not create/install versioned DLLs on OS/2.

2016-04-26 Thread KO Myung-Hun
he ln_s and ln_s_default >> are not connected i think >> set_default or similar is missing > > OK, thanks, that's what I missed. > >> >> >>> Did you run make && make install after configuring? >>> Here's the version I'll post later in a new

Re: [FFmpeg-devel] [PATCH 1/3] configure: Support backslashes in TMPDIR on OS/2.

2016-04-15 Thread KO Myung-Hun
\", files) } > @@ -3550,10 +3555,10 @@ fi > > tmpfile(){ > tmp=$(mktemp -u "${TMPDIR}/ffconf.")$2 && > -(set -C; exec > $tmp) 2>/dev/null || > +(set -C; exec > "$tmp") 2>/dev/null || > die &

Re: [FFmpeg-devel] [PATCH 2/3] configure: Do not create/install versioned DLLs on OS/2.

2016-04-15 Thread KO Myung-Hun
SLIB_EXTRA_CMD='emximp -o $(SUBDIR)$(LIBPREF)$(FULLNAME)_dll.a > $(SUBDIR)$(FULLNAME).def; \ > +emximp -o $(SUBDIR)$(LIBPREF)$(FULLNAME)_dll.lib > $(SUBDIR)$(FULLNAME).def;' > +SLIB_INSTALL_NAME='$(SLIBNAME_WITH_MAJOR)' > +SLIB_INSTALL_LINKS= > +

Re: [FFmpeg-devel] [PATCH 2/3] configure: Do not create/install versioned DLLs on OS/2.

2016-04-16 Thread KO Myung-Hun
ition, there are people not using ln -s for compatibility. So if possible, it would be better to avoid a symbolic link. Anyway, test if ln -s really works and override ln_s if it fails. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 o

Re: [FFmpeg-devel] [PATCH 1/3] configure: Support backslashes in TMPDIR on OS/2.

2016-04-16 Thread KO Myung-Hun
Dmitriy Kuminov wrote: > On 2016-04-16 04:39:44 +0000, KO Myung-Hun said: > >>> diff --git a/configure b/configure >>> index 0ff1b9d..ff80aee 100755 >>> --- a/configure >>> +++ b/configure >>> @@ -734,7 +734,12 @@ check_deps(){ &

Re: [FFmpeg-devel] [PATCH 2/3] configure: Do not create/install versioned DLLs on OS/2.

2016-04-18 Thread KO Myung-Hun
Dmitriy Kuminov wrote: > On 2016-04-17 05:21:31 +0000, KO Myung-Hun said: > >> Even if it's a bug of ramfs.ifs, its bug should be considered when using >> ln -s. > > Yes, and in this particular case configure handles it safely. It results > into a false fallback tho

Re: [FFmpeg-devel] [PATCH 2/3] configure: Do not create/install versioned DLLs on OS/2.

2016-04-19 Thread KO Myung-Hun
Hi/2. Dmitriy Kuminov wrote: > On 2016-04-18 11:52:15 +0000, KO Myung-Hun said: > >> Strange conclusion. Anyway not important. > > In Dave's case the symlink functionality check fails because it is > performed in TMPDIR which is located on ramfs.ifs (which fails to u

Re: [FFmpeg-devel] [PATCH] compat/os2threads: support static mutexes

2018-01-06 Thread KO Myung-Hun
Ping ? KO Myung-Hun wrote: > --- > compat/os2threads.h | 14 -- > 1 file changed, 8 insertions(+), 6 deletions(-) > > diff --git a/compat/os2threads.h b/compat/os2threads.h > index 40a119ffe1..2177a033ec 100644 > --- a/compat/os2threads.h > +++ b/compat/os2

Re: [FFmpeg-devel] [PATCH] configure: check SDL2 function with a header

2018-01-06 Thread KO Myung-Hun
Ping ? KO Myung-Hun wrote: > Hi/2. > > Derek Buitenhuis wrote: >> On 12/29/2017 6:36 AM, KO Myung-Hun wrote: >>> Sorry about that. >>> >>> SDL2 uses SDLCALL to specify a calling convention. On OS/2, it's defined >>> to `_System

[FFmpeg-devel] [PATCH] configure: check SDL2 function with a header

2017-12-28 Thread KO Myung-Hun
On OS/2, '_' is not prepended to a function name. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 70de780f82..f937ddf2be 100755 --- a/configure +++ b/configure @@ -6019,14 +6019,14 @@ fi if enabled sdl2; then

[FFmpeg-devel] [PATCH] compat/os2threads: support static mutexes

2017-12-28 Thread KO Myung-Hun
--- compat/os2threads.h | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index 40a119ffe1..2177a033ec 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 KO Myung-Hun &l

Re: [FFmpeg-devel] [PATCH] compat/os2threads: support static mutexes

2017-12-28 Thread KO Myung-Hun
Hi/2. wm4 wrote: > On Thu, 28 Dec 2017 22:03:56 +0900 > KO Myung-Hun <kom...@gmail.com> wrote: > >> --- >> compat/os2threads.h | 14 -- >> 1 file changed, 8 insertions(+), 6 deletions(-) >> >> diff --git a/compat/os2threads.h b/compat

Re: [FFmpeg-devel] [PATCH] configure: check SDL2 function with a header

2017-12-28 Thread KO Myung-Hun
Hi/2. Derek Buitenhuis wrote: > On 12/28/2017 2:44 PM, KO Myung-Hun wrote: >> On OS/2, '_' is not prepended to a function name. >> --- >> configure | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > It's not immediately clear to be how

Re: [FFmpeg-devel] [PATCH] configure: check SDL2 function with a header

2018-01-01 Thread KO Myung-Hun
Hi/2. Derek Buitenhuis wrote: > On 12/29/2017 6:36 AM, KO Myung-Hun wrote: >> Sorry about that. >> >> SDL2 uses SDLCALL to specify a calling convention. On OS/2, it's defined >> to `_System' which is similar to `_cdecl' but does not prepend '_'. >> >>

Re: [FFmpeg-devel] [PATCH] OS/2:Support linking against libcx

2020-06-13 Thread KO Myung-Hun
break build anymore, but iam not OS/2 >> maintainer nor do i have such box so ill leave review / application >> to someone better suited for this >> >> thx >> [...] > > Fair enough, I'll CC KOMH I have no problems at all with gcc 9.1.0 because FFmpeg alread

Re: [FFmpeg-devel] [PATCH] OS/2:Support linking against libcx

2020-06-14 Thread KO Myung-Hun
Hi/2. Dave Yeo wrote: > On 06/13/20 07:03 AM, KO Myung-Hun wrote: >> Hi/2. >> >> Dave Yeo wrote: >>> On 06/11/20 10:26 AM, Michael Niedermayer wrote: >>>> On Wed, Jun 10, 2020 at 09:24:51PM -0700, Dave Yeo wrote: >>>>> On 06/10/20 02:09 P