[FFmpeg-cvslog] lavu/timer: specify RISC-V time unit

Rémi Denis-Courmont git at videolan.org
Thu Aug 24 21:02:55 EEST 2023


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 15 18:23:01 2023 +0300| [6f8ac298da7504208f8973b6ad90c1901e51cd2c] | committer: Rémi Denis-Courmont

lavu/timer: specify RISC-V time unit

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f8ac298da7504208f8973b6ad90c1901e51cd2c
---

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



More information about the ffmpeg-cvslog mailing list