Re: [libav-devel] [PATCH] thread: Define ff_mutex_* macros as stub functions when threads are disabled

2017-04-12 Thread Luca Barbato
On 31/03/2017 19:35, Diego Biurrun wrote: > Silences a bunch of "statement with no effect" warnings with threads disabled. > --- > > Now with stub functions, should be more correct. > > libavutil/thread.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavutil

Re: [libav-devel] [PATCH] thread: Define ff_mutex_* macros as stub functions when threads are disabled

2017-04-12 Thread Diego Biurrun
On Fri, Mar 31, 2017 at 07:35:35PM +0200, Diego Biurrun wrote: > Silences a bunch of "statement with no effect" warnings with threads disabled. > --- > > Now with stub functions, should be more correct. > > libavutil/thread.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) ping

[libav-devel] [PATCH] thread: Define ff_mutex_* macros as stub functions when threads are disabled

2017-03-31 Thread Diego Biurrun
Silences a bunch of "statement with no effect" warnings with threads disabled. --- Now with stub functions, should be more correct. libavutil/thread.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavutil/thread.h b/libavutil/thread.h index cf0fbdd..ac76bb8 100644