https://bugs.kde.org/show_bug.cgi?id=501604

--- Comment #4 from Thomas Klausner <w...@gatalith.at> ---
Yes, you're right, std::round is used in that other file. I guess (I didn't
check in detail) that it includes cmath.

Here's an alternate patch for QtAVPlayer that also fixes the problem and is
perhaps more acceptable:
```
--- core/libs/video/QtAVPlayer/qavstream.cpp.orig       2025-03-15
14:01:45.000000000 +0000
+++ core/libs/video/QtAVPlayer/qavstream.cpp
@@ -5,6 +5,7 @@
  * Free Qt Media Player based on FFmpeg.                 *
  *********************************************************/

+#include <cmath>
 #include "qavstream.h"
 #include "qavdemuxer_p.h"
 #include "qavcodec_p.h"
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to