Module: libav
Branch: master
Commit: 2c340596cab981ac842aff7da89d298025c99304

Author:    Michael Niedermayer <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Sat Aug 18 21:53:32 2012 +0200

elbg: Fix an assert

It seems the condition was flipped from what was intended.

Signed-off-by: Martin Storsjö <[email protected]>

---

 libavcodec/elbg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/elbg.c b/libavcodec/elbg.c
index 31195f3..0aa8e16 100644
--- a/libavcodec/elbg.c
+++ b/libavcodec/elbg.c
@@ -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;
 }

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to