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
v3.5.13-sru
tpearson 13 years ago
parent 5660db4e68
commit 3ead46f833

@ -19,6 +19,12 @@
#include <libavformat/avformat.h> #include <libavformat/avformat.h>
#endif #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 <tqimage.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <klocale.h> #include <klocale.h>

Loading…
Cancel
Save