[PATCH] COMP: Fix for ffmpeg revision 22965 and newer
Sven Buijssen
sven.buijssen at tu-dortmund.de
Thu Apr 29 12:29:20 EDT 2010
---
IO/CMakeLists.txt | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/IO/CMakeLists.txt b/IO/CMakeLists.txt
index 72cee22..a0a068f 100644
--- a/IO/CMakeLists.txt
+++ b/IO/CMakeLists.txt
@@ -292,6 +292,10 @@ IF (VTK_USE_FFMPEG_ENCODER)
SET(KIT_LIBS ${KIT_LIBS}
${FFMPEG_swscale_LIBRARY})
ENDIF (NOT VTK_FFMPEG_HAS_IMG_CONVERT)
+
+ IF(NOT VTK_FFMPEG_HAS_OLD_HEADER)
+ ADD_DEFINITIONS(-D__STDC_CONSTANT_MACROS)
+ ENDIF(NOT VTK_FFMPEG_HAS_OLD_HEADER)
ENDIF (VTK_USE_FFMPEG_ENCODER)
#-----------------------------------------------------------------------------
--
1.7.1
--------------080103010605030507050406--
More information about the ParaView
mailing list