diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-07-01 03:49:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-07-01 03:51:56 +0200 |
commit | a8e137a32286adddeb08f4f156c16cfe8bbf612e (patch) | |
tree | 129e23b6c176a249a331a802a109614f1eef11b3 | |
parent | 9c010ba66800fd335cc389c2a2b664216be985ae (diff) | |
parent | df22e30172b09cda4d6f7d4f43508284be65848a (diff) | |
download | ffmpeg-a8e137a32286adddeb08f4f156c16cfe8bbf612e.tar.gz |
Merge commit 'df22e30172b09cda4d6f7d4f43508284be65848a'
* commit 'df22e30172b09cda4d6f7d4f43508284be65848a':
dump: Use the correct abs() version
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dump.c b/libavformat/dump.c index 6355b99f41..1da29b9462 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -509,7 +509,7 @@ void av_dump_format(AVFormatContext *ic, int index, int secs, us; av_log(NULL, AV_LOG_INFO, ", start: "); secs = ic->start_time / AV_TIME_BASE; - us = abs(ic->start_time % AV_TIME_BASE); + us = llabs(ic->start_time % AV_TIME_BASE); av_log(NULL, AV_LOG_INFO, "%d.%06d", secs, (int) av_rescale(us, 1000000, AV_TIME_BASE)); } |