]> git.sesse.net Git - vlc/commitdiff
lavc implements emu-edge in VP8 now
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 28 Dec 2010 23:03:46 +0000 (00:03 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 28 Dec 2010 23:03:46 +0000 (00:03 +0100)
modules/codec/avcodec/video.c

index 85bad6ea9bd0184ae9b593ad29529eca99fc5e73..f821d78f74f3c1cf9873b6fcaa223882ad3395c4 100644 (file)
@@ -302,7 +302,7 @@ 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 )
+#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 68, 2 ) ) && (LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 52, 100, 1 ) )
         /* 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 &&