[FFmpeg-devel] [PATCH] lavu: add pthread asserts if ASSERT_LEVEL>1

Clément Bœsch u at pkh.me
Wed Jan 20 21:21:59 CET 2016


On Tue, Dec 22, 2015 at 09:05:24PM +0100, Clément Bœsch wrote:
> ---
>  libavutil/thread.h | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 96 insertions(+)
> 
> diff --git a/libavutil/thread.h b/libavutil/thread.h
> index 3d15737..0bb745e 100644
> --- a/libavutil/thread.h
> +++ b/libavutil/thread.h
> @@ -30,6 +30,102 @@
>  
>  #if HAVE_PTHREADS
>  #include <pthread.h>
> +
> +#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0
> +

Applied with ASSERT_LEVEL > 1

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160120/bebdd2e3/attachment.sig>


More information about the ffmpeg-devel mailing list