Index: OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/CMakeLists.txt
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/CMakeLists.txt (revision 9998)
+++ OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/CMakeLists.txt (revision 10082)
@@ -54,4 +54,9 @@
 )
 
+IF(CMAKE_COMPILER_IS_GNUCXX)
+    # Remove -pedantic flag as it barfs on ffmoeg headers
+   STRING(REGEX REPLACE "-pedantic" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
+
+ENDIF()
 
 
