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.
2 parents 65a7b01 + 295f074 commit 7097a85Copy full SHA for 7097a85
apng-drawable/src/main/cpp/apng-drawbale/ApngDecoder.cpp
@@ -266,7 +266,7 @@ std::unique_ptr<ApngImage> ApngDecoder::decode(
266
&dispose_op,
267
&blend_op);
268
auto duration =
269
- static_cast<size_t>(std::lround(static_cast<float>(delay_num) / delay_den * 1000F));
+ static_cast<size_t>(std::lround(static_cast<float>(delay_num) / delay_den * 1000.F));
270
std::unique_ptr<ApngFrame> frame(new ApngFrame(size, duration));
271
if (i == first) {
272
blend_op = PNG_BLEND_OP_SOURCE;
0 commit comments