Commit 20614e86 authored by Rostislav Pehlivanov's avatar Rostislav Pehlivanov

tests/mjpegenc_huffman: replace assert() with av_assert0()

Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
parent d164ef65
......@@ -39,7 +39,7 @@ static int check_lengths(int L, int expected_length,
int actual_length = 0, i, j, k, prob, length;
int ret = 0;
double cantor_measure = 0;
assert(nprobs <= 256);
av_assert0(nprobs <= 256);
for (i = 0; i < nprobs; i++) {
val_counts[i] = (PTable){.value = i, .prob = probs[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