mirror of https://git.ffmpeg.org/ffmpeg.git
tests/mjpegenc_huffman: replace assert() with av_assert0()
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
d164ef6589
commit
20614e868b
|
@ -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]};
|
||||
|
|
Loading…
Reference in New Issue