mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-30 12:44:07 +00:00
Fix assert.
This commit is contained in:
parent
65cf515070
commit
b83d7687dc
|
@ -968,7 +968,7 @@ void kvz_intra_build_reference(
|
||||||
kvz_pixel *extra_ref_lines,
|
kvz_pixel *extra_ref_lines,
|
||||||
int8_t multi_ref_idx)
|
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
|
// 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);
|
kvz_intra_build_reference_any(log2_width, color, luma_px, pic_px, lcu, refs, multi_ref_idx, extra_ref_lines);
|
||||||
|
|
Loading…
Reference in a new issue