Commit a8e137a3 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'df22e301'

* commit 'df22e301':
  dump: Use the correct abs() version
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 9c010ba6 df22e301
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment