mmaldec: Use av_assert0() instead of assert()

Signed-off-by: Anton Khirnov <anton@khirnov.net>
pull/221/head
Michael Niedermayer 9 years ago committed by Anton Khirnov
parent f2422b5875
commit 366ba2dee1
  1. 2
      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;
}

Loading…
Cancel
Save