elbg: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-18 21:54:52 +02:00
parent 9018f8c328
commit a21f65b55e
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}