ffmpeg | branch: release/0.10 | Michael Niedermayer <[email protected]> | Sat 
Aug 18 21:53:32 2012 +0200| [9858a723cbcb206287fd0232d74c6a0991eecdc8] | 
committer: Diego Biurrun

elbg: Fix an assert

It seems the condition was flipped from what was intended.

Signed-off-by: Martin Storsjö <[email protected]>
(cherry picked from commit 2c340596cab981ac842aff7da89d298025c99304)
Signed-off-by: Diego Biurrun <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9858a723cbcb206287fd0232d74c6a0991eecdc8
---

 libavcodec/elbg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/elbg.c b/libavcodec/elbg.c
index 030c3a6..36ed9c2 100644
--- a/libavcodec/elbg.c
+++ b/libavcodec/elbg.c
@@ -110,7 +110,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;
 }

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to