diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c index bb8f17b39b..13cc191ff1 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; - av_assert0(avpriv_atomic_get(&ctx->packets_buffered) == 0); + av_assert0(avpriv_atomic_int_get(&ctx->packets_buffered) == 0); ctx->frames_output = ctx->eos_received = ctx->eos_sent = ctx->packets_sent = ctx->extradata_sent = 0; }