[FFmpeg-cvslog] tests/mjpegenc_huffman: replace assert() with av_assert0()

Rostislav Pehlivanov git at videolan.org
Thu Feb 9 05:00:06 EET 2017


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Thu Feb  9 02:59:22 2017 +0000| [20614e868b9061d86dd390c31b9e14430e84c31e] | committer: Rostislav Pehlivanov

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

Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20614e868b9061d86dd390c31b9e14430e84c31e
---

 libavcodec/tests/mjpegenc_huffman.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tests/mjpegenc_huffman.c b/libavcodec/tests/mjpegenc_huffman.c
index 4559cbe..b9fcdba 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]};



More information about the ffmpeg-cvslog mailing list