From b83d7687dc4a16b4e7a6d4d9a7e01848fbc47dba Mon Sep 17 00:00:00 2001 From: siivonek Date: Fri, 19 Nov 2021 15:22:26 +0200 Subject: [PATCH] Fix assert. --- src/intra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intra.c b/src/intra.c index b5dbaa1b..486a7ccd 100644 --- a/src/intra.c +++ b/src/intra.c @@ -968,7 +968,7 @@ void kvz_intra_build_reference( kvz_pixel *extra_ref_lines, int8_t multi_ref_idx) { - assert(extra_ref_lines == NULL && multi_ref_idx != 0 && "Trying to use MRL with NULL extra references."); + assert(!(extra_ref_lines == NULL && multi_ref_idx != 0) && "Trying to use MRL with NULL extra references."); // Make this common case work with MRL, implement inner after this one works kvz_intra_build_reference_any(log2_width, color, luma_px, pic_px, lcu, refs, multi_ref_idx, extra_ref_lines);