You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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 cc679054c7
.
Signed-off-by: Matthias Dressel <code@deadcode.eu>
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
committed by
Martin Storsjö
parent
9bc5676e40
commit
e41bd6e65e
@@ -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))
|
if (memcmp(dst0 + j*stride, dst1 + j*stride, w*SIZEOF_PIXEL))
|
||||||
fail();
|
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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user