From c0152ebb9e0501b9d3d4386531995683a4ac824c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 5 Oct 2015 12:04:40 +0200 Subject: [PATCH] avcodec/mmaldec: Use av_assert0() instead of assert() Signed-off-by: Michael Niedermayer --- libavcodec/mmaldec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c index a219e98c39..bb8f17b39b 100644 --- a/libavcodec/mmaldec.c +++ b/libavcodec/mmaldec.c @@ -165,7 +165,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; }