avfilter/af_dynaudnorm: Fix typo in assert
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Sep 2015 12:42:40 +0000 (14:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Sep 2015 16:55:06 +0000 (18:55 +0200)
Fixes: CID1322303

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/af_dynaudnorm.c

index 60d6c87..0b80b2a 100644 (file)
@@ -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;