[vlc-commits] Avcodec: deactivate DR on cinepack

Jean-Baptiste Kempf git at videolan.org
Sun Feb 12 23:50:19 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 12 23:47:30 2012 +0100| [c7b493435fe3855e2cc4ca168756d73a62d8b85f] | committer: Jean-Baptiste Kempf

Avcodec: deactivate DR on cinepack

Close #5872

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c7b493435fe3855e2cc4ca168756d73a62d8b85f
---

 modules/codec/avcodec/video.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 9b42d47..3e616e8 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -316,6 +316,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 && p_sys->i_codec_id != CODEC_ID_CSCD &&
+        p_sys->i_codec_id != CODEC_ID_CINEPAK &&
 #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 */



More information about the vlc-commits mailing list