[FFmpeg-devel] [PATCH 02/11] avformat/dump: use FFABS to instead of llabs
Steven Liu
lq at chinaffmpeg.org
Wed Nov 15 09:43:48 EET 2017
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
libavformat/dump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/dump.c b/libavformat/dump.c
index 77043e3fdb..d414a6548f 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -586,8 +586,8 @@ void av_dump_format(AVFormatContext *ic, int index,
if (ic->start_time != AV_NOPTS_VALUE) {
int secs, us;
av_log(NULL, AV_LOG_INFO, ", start: ");
- secs = llabs(ic->start_time / AV_TIME_BASE);
- us = llabs(ic->start_time % AV_TIME_BASE);
+ secs = FFABS(ic->start_time / AV_TIME_BASE);
+ us = FFABS(ic->start_time % AV_TIME_BASE);
av_log(NULL, AV_LOG_INFO, "%s%d.%06d",
ic->start_time >= 0 ? "" : "-",
secs,
--
2.11.0 (Apple Git-81)
More information about the ffmpeg-devel
mailing list