Commit e41bd6e6 authored by Matthias Dressel's avatar Matthias Dressel Committed by Martin Storsjö

checkasm: hevc_sao: Fix a regression in hevc_sao_edge

check_func() might return NULL, in which case the function is not to be
benched. Introduced in cc679054.
Signed-off-by: 's avatarMatthias Dressel <code@deadcode.eu>
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 9bc5676e
......@@ -134,8 +134,8 @@ static void check_sao_edge(HEVCDSPContext *h, int bit_depth)
if (memcmp(dst0 + j*stride, dst1 + j*stride, w*SIZEOF_PIXEL))
fail();
}
bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size);
}
bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment