[SCM] libav/experimental: libx265: Remove unneeded bit depth check

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:03:27 UTC 2014


The following commit has been merged in the experimental branch:
commit ceada893bec1e29e457bd2b81d8a0b6fcba5f1f7
Author: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Date:   Wed Jun 11 21:20:43 2014 +0100

    libx265: Remove unneeded bit depth check
    
    This is no longer needed since the version bump.
    
    Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 5f27662..026f6ff 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -123,11 +123,6 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx)
         }
     }
 
-    if (x265_max_bit_depth == 8)
-        ctx->params->internalBitDepth = 8;
-    else if (x265_max_bit_depth == 12)
-        ctx->params->internalBitDepth = 10;
-
     switch (avctx->pix_fmt) {
     case AV_PIX_FMT_YUV420P:
     case AV_PIX_FMT_YUV420P10:

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list