[FFmpeg-devel] [PATCH 3/3] lavu/timer: specify RISC-V time unit

Rémi Denis-Courmont remi at remlab.net
Tue Aug 15 18:27:47 EEST 2023


---
 libavutil/riscv/timer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/riscv/timer.h b/libavutil/riscv/timer.h
index b418d13a26..df1a730b5e 100644
--- a/libavutil/riscv/timer.h
+++ b/libavutil/riscv/timer.h
@@ -48,6 +48,7 @@ static inline uint64_t ff_read_time(void)
 }
 
 #define AV_READ_TIME ff_read_time
+#define FF_TIMER_UNITS "ticks"
 
 #endif
 #endif /* AVUTIL_RISCV_TIMER_H */
-- 
2.40.1



More information about the ffmpeg-devel mailing list