aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-14 12:21:17 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-30 08:00:02 +0200
commit366ba2dee1f2b17825b42e2164d3b9879f0271b1 (patch)
treee5395e9c45f38931c4a9c63bb4557140dedec7a4 /libavcodec
parentf2422b58756ba97e3cbadc190f1ed950aa201ec7 (diff)
downloadffmpeg-366ba2dee1f2b17825b42e2164d3b9879f0271b1.tar.gz
mmaldec: Use av_assert0() instead of assert()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mmaldec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index a0685ea479..5986658f3b 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;
}