OSDN Git Service

elbg: Fix an assert
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Aug 2012 19:53:32 +0000 (21:53 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 4 Sep 2012 15:37:54 +0000 (18:37 +0300)
It seems the condition was flipped from what was intended.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/elbg.c

index 31195f3..0aa8e16 100644 (file)
@@ -111,7 +111,7 @@ static int get_high_utility_cell(elbg_data *elbg)
     while (elbg->utility_inc[i] < r)
         i++;
 
-    assert(!elbg->cells[i]);
+    assert(elbg->cells[i]);
 
     return i;
 }