Commit 7ed89add authored by Derek Buitenhuis's avatar Derek Buitenhuis

libx265: Remove unneeded bit depth check

This is no longer needed since the version bump.
Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent 6ee95af8
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment