[FFmpeg-devel] [PATCH v2 2/2] avutil/macos_kperf: Fix assert which makes kperf failed to run

Martin Storsjö martin at martin.st
Mon Jun 17 23:05:05 EEST 2024


On Tue, 18 Jun 2024, Zhao Zhili wrote:

> From: Zhao Zhili <zhilizhao at tencent.com>
>
> On m1, kpc_get_counter_count(KPC_MASK) return 8 in my test. The
> exact value doesn't matter in our case, as long as we have a
> sufficiently large array
>
> Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
> ---
> libavutil/macos_kperf.c | 16 ++++++++++------
> 1 file changed, 10 insertions(+), 6 deletions(-)

Both these patche LGTM, thanks!

// Martin



More information about the ffmpeg-devel mailing list