diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-09 02:59:22 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-02-09 02:59:22 +0000 |
commit | 20614e868b9061d86dd390c31b9e14430e84c31e (patch) | |
tree | 2cb912c74bc37fd6e78a46147cb938cc9bcf05f9 /libavcodec/tests | |
parent | d164ef658970de4dbfc2374be0e86f3b017981ba (diff) | |
download | ffmpeg-20614e868b9061d86dd390c31b9e14430e84c31e.tar.gz |
tests/mjpegenc_huffman: replace assert() with av_assert0()
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/tests')
-rw-r--r-- | libavcodec/tests/mjpegenc_huffman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tests/mjpegenc_huffman.c b/libavcodec/tests/mjpegenc_huffman.c index 4559cbe765..b9fcdba4b8 100644 --- a/libavcodec/tests/mjpegenc_huffman.c +++ b/libavcodec/tests/mjpegenc_huffman.c @@ -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]}; |