1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-07 16:40:10 +02:00

mmaldec: Use av_assert0() instead of assert()

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Michael Niedermayer 2016-04-14 12:21:17 +02:00 committed by Anton Khirnov
parent f2422b5875
commit 366ba2dee1

View File

@ -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;
}