[FFmpeg-devel] [PATCH] macos_kperf: fix incomplete prototype

Rémi Denis-Courmont remi at remlab.net
Wed Jul 19 20:24:07 EEST 2023


---
 libavutil/macos_kperf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/macos_kperf.c b/libavutil/macos_kperf.c
index 9fc04c6349..9fb047eeee 100644
--- a/libavutil/macos_kperf.c
+++ b/libavutil/macos_kperf.c
@@ -102,7 +102,7 @@ void ff_kperf_init(void)
     ff_thread_once(&init_static_once, kperf_init);
 }
 
-uint64_t ff_kperf_cycles()
+uint64_t ff_kperf_cycles(void)
 {
     uint64_t counters[COUNTERS_COUNT];
     if (kpc_get_thread_counters(0, COUNTERS_COUNT, counters)) {
-- 
2.40.1



More information about the ffmpeg-devel mailing list