diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-18 00:13:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-18 00:13:50 +0000 |
commit | 3ead46f833f91cd31cbc78bb72783f93a872b333 (patch) | |
tree | d00b49248abf11a6717ff2e18b3e287ba0f39e43 /k9author/k9avidecode.cpp | |
parent | 5660db4e68c904cc2dd01888775483189cda7a10 (diff) | |
download | k9copy-3ead46f833f91cd31cbc78bb72783f93a872b333.tar.gz k9copy-3ead46f833f91cd31cbc78bb72783f93a872b333.zip |
Fix k9copy FTBFS under older revisions of libavcodec
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1247897 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'k9author/k9avidecode.cpp')
-rw-r--r-- | k9author/k9avidecode.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/k9author/k9avidecode.cpp b/k9author/k9avidecode.cpp index bfb13ac..1ac2f4e 100644 --- a/k9author/k9avidecode.cpp +++ b/k9author/k9avidecode.cpp @@ -19,6 +19,12 @@ #include <libavformat/avformat.h> #endif +// This is probably the incorrect revision for when CODEC_TYPE_VIDEO was removed +// Please update the comparison below if you know the exact revision that CODEC_TYPE_VIDEO was removed in! +#if LIBAVCODEC_VERSION_INT < (AV_VERSION_INT(52,72,2)) +#define AVMEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO +#endif + #include <tqimage.h> #include <dlfcn.h> #include <klocale.h> |