Commit a21f65b5 authored by Michael Niedermayer's avatar Michael Niedermayer

elbg: switch to av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9018f8c3
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <string.h> #include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h" #include "libavutil/common.h"
#include "libavutil/lfg.h" #include "libavutil/lfg.h"
#include "elbg.h" #include "elbg.h"
...@@ -111,7 +112,7 @@ static int get_high_utility_cell(elbg_data *elbg) ...@@ -111,7 +112,7 @@ static int get_high_utility_cell(elbg_data *elbg)
while (elbg->utility_inc[i] < r) while (elbg->utility_inc[i] < r)
i++; i++;
assert(elbg->cells[i]); av_assert2(elbg->cells[i]);
return i; return i;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment