This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
OpenSceneGraph/OpenSceneGraph-2.9.7-ffmpeg-0.6.1.patch

12 lines
523 B
Diff
Raw Permalink Normal View History

diff -Nru OpenSceneGraph-2.9.7.orig//src/osgPlugins/ffmpeg/CMakeLists.txt OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/CMakeLists.txt
--- OpenSceneGraph-2.9.7.orig//src/osgPlugins/ffmpeg/CMakeLists.txt 2009-07-03 21:16:53.000000000 +0200
+++ OpenSceneGraph-2.9.7/src/osgPlugins/ffmpeg/CMakeLists.txt 2011-03-05 19:43:42.645431330 +0100
@@ -2,6 +2,7 @@
LINK_DIRECTORIES(${FFMPEG_LIBRARY_DIRS})
SET(TARGET_EXTERNAL_LIBRARIES ${FFMPEG_LIBRARIES} )
+ADD_DEFINITIONS(-D__STDC_CONSTANT_MACROS)
IF(FFMPEG_LIBSWSCALE_FOUND)