From 57bc01b040818f1b5251f08f1d8b8f527c6d2306 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 10 Jul 2010 17:25:41 +0300 Subject: [PATCH] Fix compilation --- modules/codec/avcodec/video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c index 6cc839c3ae..8ea735fc03 100644 --- a/modules/codec/avcodec/video.c +++ b/modules/codec/avcodec/video.c @@ -306,9 +306,11 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context, (p_sys->p_codec->capabilities & CODEC_CAP_DR1) && /* No idea why ... but this fixes flickering on some TSCC streams */ p_sys->i_codec_id != CODEC_ID_TSCC && +#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 68, 2 ) /* avcodec native vp8 decode doesn't handle EMU_EDGE flag, and I don't have idea howto implement fallback to libvpx decoder */ p_sys->i_codec_id != CODEC_ID_VP8 && +#endif !p_sys->p_context->debug_mv ) { /* Some codecs set pix_fmt only after the 1st frame has been decoded, -- 2.39.2