We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39aae41 commit eaccea3Copy full SHA for eaccea3
src/opentime/rationalTime.cpp
@@ -290,7 +290,7 @@ RationalTime::to_time_string() const {
290
// result and return the string at the end with a '-'. This provides
291
// compatibility with ffmpeg, which allows negative time strings.
292
if (std::signbit(total_seconds)) {
293
- total_seconds = abs(total_seconds);
+ total_seconds = std::fabs(total_seconds);
294
is_negative = true;
295
}
296
0 commit comments