diff mbox series

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

Message ID 20230815152747.28925-3-remi@remlab.net
State Accepted
Commit 6f8ac298da7504208f8973b6ad90c1901e51cd2c
Headers show
Series [FFmpeg-devel,1/3] lavu/timer: use time for AV_READ_TIME on RISC-V | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Rémi Denis-Courmont Aug. 15, 2023, 3:27 p.m. UTC
---
 libavutil/riscv/timer.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 */