Files
for-gentoo/dev-games/openscenegraph/files/openscenegraph-libav.patch
T
2011-11-17 08:59:23 +01:00

21 lines
591 B
Diff

--- OpenSceneGraph-3.0.1.orig/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp
+++ OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp
@@ -9,12 +9,13 @@ extern "C"
#define FF_API_OLD_SAMPLE_FMT 0
#include <errno.h> // for error codes defined in avformat.h
#include <stdint.h>
-#include <avcodec.h>
-#include <avformat.h>
-#include <avdevice.h>
+#include <libavcodec/avcodec.h>
+#include <libavformat/avformat.h>
+#include <libavdevice/avdevice.h>
+#include <libavutil/mathematics.h>
#ifdef USE_SWSCALE
- #include <swscale.h>
+ #include <libswscale/swscale.h>
#endif
}