mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
mmaldec: Use av_assert0() instead of assert()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
f2422b5875
commit
366ba2dee1
@ -166,7 +166,7 @@ static void ffmmal_stop_decoder(AVCodecContext *avctx)
|
|||||||
}
|
}
|
||||||
ctx->waiting_buffers_tail = NULL;
|
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;
|
ctx->frames_output = ctx->eos_received = ctx->eos_sent = ctx->packets_sent = ctx->extradata_sent = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user