From David Fries, "The ffmpeg lockmanager was introduced in ffmpeg 52 30 1, but

later backported to 52 20 1, so add that to the version check
in ReaderWriterFFmpeg.cpp."
This commit is contained in:
Robert Osfield 2010-12-12 09:40:16 +00:00
parent b4dad9bac3
commit 244e751146

View File

@ -19,7 +19,10 @@
#include <osgDB/FileNameUtils>
#include <osgDB/FileUtils>
#if LIBAVCODEC_VERSION_MAJOR >= 53 || (LIBAVCODEC_VERSION_MAJOR==52 && LIBAVCODEC_VERSION_MINOR>=30)
#if LIBAVCODEC_VERSION_MAJOR >= 53 || \
(LIBAVCODEC_VERSION_MAJOR==52 && LIBAVCODEC_VERSION_MINOR>=30) || \
(LIBAVCODEC_VERSION_MAJOR==52 && LIBAVCODEC_VERSION_MINOR==20 && LIBAVCODEC_VERSION_MICRO >= 1)
#define USE_AV_LOCK_MANAGER
#endif