You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Merge commit 'df22e30172b09cda4d6f7d4f43508284be65848a'
* commit 'df22e30172b09cda4d6f7d4f43508284be65848a': dump: Use the correct abs() version Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -509,7 +509,7 @@ void av_dump_format(AVFormatContext *ic, int index,
|
|||||||
int secs, us;
|
int secs, us;
|
||||||
av_log(NULL, AV_LOG_INFO, ", start: ");
|
av_log(NULL, AV_LOG_INFO, ", start: ");
|
||||||
secs = ic->start_time / AV_TIME_BASE;
|
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",
|
av_log(NULL, AV_LOG_INFO, "%d.%06d",
|
||||||
secs, (int) av_rescale(us, 1000000, AV_TIME_BASE));
|
secs, (int) av_rescale(us, 1000000, AV_TIME_BASE));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user