Module: libav Branch: master Commit: 366ba2dee1f2b17825b42e2164d3b9879f0271b1
Author: Michael Niedermayer <mich...@niedermayer.cc> Committer: Anton Khirnov <an...@khirnov.net> Date: Thu Apr 14 12:21:17 2016 +0200 mmaldec: Use av_assert0() instead of assert() Signed-off-by: Anton Khirnov <an...@khirnov.net> --- libavcodec/mmaldec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c index a0685ea..5986658 100644 --- a/libavcodec/mmaldec.c +++ b/libavcodec/mmaldec.c @@ -166,7 +166,7 @@ static void ffmmal_stop_decoder(AVCodecContext *avctx) } ctx->waiting_buffers_tail = NULL; - assert(avpriv_atomic_get(&ctx->packets_buffered) == 0); + av_assert0(avpriv_atomic_get(&ctx->packets_buffered) == 0); ctx->frames_output = ctx->eos_received = ctx->eos_sent = ctx->packets_sent = ctx->extradata_sent = 0; } _______________________________________________ libav-commits mailing list libav-commits@libav.org https://lists.libav.org/mailman/listinfo/libav-commits