[FFmpeg-cvslog] elbg: fix assert

Michael Niedermayer git at videolan.org
Sat Aug 18 22:04:20 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 18 21:53:32 2012 +0200| [9018f8c328f95a14210961027c8508dcda729c71] | committer: Michael Niedermayer

elbg: fix assert

It seems the condition was flipped from what was intended

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/elbg.c b/libavcodec/elbg.c
index 18d96db..38028da 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;
 }



More information about the ffmpeg-cvslog mailing list