mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-12 06:33:59 +00:00
27d58ba07b
A crash on some old CPUs show, that in video frame processing sometimes a cast from double to crl::time fails, writing to the resulting crl::time value INT64_MIN (0x8000000000000000). This is shown in crash logs, with lines like: ...,rounded:104,casted:-9223372036854775808,... where logs are written like: ... ).arg(std::round(adjust * _options.speed) ).arg(crl::time(std::round(adjust * _options.speed)) ... I don't know what to do and how to workaround this. Trying other casts.