elbg: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9018f8c328
commit
a21f65b55e
@ -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)
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user