elbg: fix assert
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Aug 2012 19:53:32 +0000 (21:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 18 Aug 2012 19:53:32 +0000 (21:53 +0200)
It seems the condition was flipped from what was intended

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/elbg.c

index 18d96db..38028da 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;
 }