diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-18 21:54:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-18 21:54:52 +0200 |
commit | a21f65b55e2e760fb2d60e33598143a16d887539 (patch) | |
tree | ff5ef7ebc16fa5eb80a37b149556857f7ee1ce65 | |
parent | 9018f8c328f95a14210961027c8508dcda729c71 (diff) | |
download | ffmpeg-a21f65b55e2e760fb2d60e33598143a16d887539.tar.gz |
elbg: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/elbg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/elbg.c b/libavcodec/elbg.c index 38028daa4a..2707599471 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; } |