diff options
author | Peter Schlaile <peter@schlaile.de> | 2011-05-27 11:47:42 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2011-05-27 11:47:42 +0400 |
commit | 0381c444fdbed601248ac5c0b01702d36e1934d5 (patch) | |
tree | c48a37fe00fa0eb392b45243027680a92e93f57b /source/gameengine/VideoTexture/VideoFFmpeg.h | |
parent | 50289e62cb0357406cec2d166d81ab4db51d7cde (diff) |
== FFMPEG ==
Fixed and added additional ffmpeg cruft checking. Oh dear.
Diffstat (limited to 'source/gameengine/VideoTexture/VideoFFmpeg.h')
-rw-r--r-- | source/gameengine/VideoTexture/VideoFFmpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/VideoTexture/VideoFFmpeg.h b/source/gameengine/VideoTexture/VideoFFmpeg.h index f95c1198eaa..70c7a840cb8 100644 --- a/source/gameengine/VideoTexture/VideoFFmpeg.h +++ b/source/gameengine/VideoTexture/VideoFFmpeg.h @@ -34,7 +34,9 @@ extern "C" { #include <libavformat/avformat.h> #include <libavcodec/avcodec.h> #include <libavutil/rational.h> +#if (LIBAVFORMAT_VERSION_MAJOR > 52) || ((LIBAVFORMAT_VERSION_MAJOR >= 52) && (LIBAVFORMAT_VERSION_MINOR >= 101)) #include <libavutil/parseutils.h> +#endif #include <libswscale/swscale.h> #include "DNA_listBase.h" #include "BLI_threads.h" |