summaryrefslogtreecommitdiff
blob: 31a552843e4773964caf39bc422dd8196ea795cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Include mathematics.h for av_rescale().
https://bugs.gentoo.org/384281

--- a/src/mediadec_ffmpeg.cpp
+++ b/src/mediadec_ffmpeg.cpp
@@ -29,6 +29,7 @@ extern "C" {
 #include <swscale.h>
 #else
 #include <libavformat/avformat.h>
+#include <libavutil/mathematics.h>
 #include <libswscale/swscale.h>
 #endif
 }