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 #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 #include #include