diff --git a/libavfilter/af_dynaudnorm.c b/libavfilter/af_dynaudnorm.c index 60d6c87b57..0b80b2ac99 100644 --- a/libavfilter/af_dynaudnorm.c +++ b/libavfilter/af_dynaudnorm.c @@ -191,7 +191,7 @@ static int cqueue_enqueue(cqueue *q, double element) { int i; - av_assert2(q->nb_elements |= q->size); + av_assert2(q->nb_elements != q->size); i = (q->first + q->nb_elements) % q->size; q->elements[i] = element;