author | Vittorio Giovara <vittorio.giovara@gmail.com> |
Thu, 12 Nov 2015 02:41:40 +0100 | |
branch | 0.9.22 |
changeset 11605 | 7ee2697a5267 |
parent 11604 | 49c82c3e3836 |
child 11606 | 1b58732e0dd7 |
--- a/QTfrontend/util/LibavInteraction.cpp Tue Nov 10 13:53:40 2015 +0100 +++ b/QTfrontend/util/LibavInteraction.cpp Thu Nov 12 02:41:40 2015 +0100 @@ -33,8 +33,11 @@ #include "HWApplication.h" // compatibility section +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54, 8, 0) +#define av_codec_is_encoder(x) x->encode +#endif + #if LIBAVCODEC_VERSION_MAJOR < 55 -#define av_codec_is_encoder(x) x->encode #define AVCodecID CodecID #endif