[FFmpeg-cvslog] elbg: switch to av_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:54:52 2012 +0200| [a21f65b55e2e760fb2d60e33598143a16d887539] | committer: Michael Niedermayer

elbg: switch to av_assert

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

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

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

diff --git a/libavcodec/elbg.c b/libavcodec/elbg.c
index 38028da..2707599 100644
--- a/libavcodec/elbg.c
+++ b/libavcodec/elbg.c
@@ -25,6 +25,7 @@
 
 #include <string.h>
 
+#include "libavutil/avassert.h"
 #include "libavutil/common.h"
 #include "libavutil/lfg.h"
 #include "elbg.h"
@@ -111,7 +112,7 @@ static int get_high_utility_cell(elbg_data *elbg)
     while (elbg->utility_inc[i] < r)
         i++;
 
-    assert(elbg->cells[i]);
+    av_assert2(elbg->cells[i]);
 
     return i;
 }



More information about the ffmpeg-cvslog mailing list