mirror of https://git.ffmpeg.org/ffmpeg.git
libx265: Remove unneeded bit depth check
This is no longer needed since the version bump. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
6ee95af8a1
commit
7ed89addb7
|
@ -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) {
|
switch (avctx->pix_fmt) {
|
||||||
case AV_PIX_FMT_YUV420P:
|
case AV_PIX_FMT_YUV420P:
|
||||||
case AV_PIX_FMT_YUV420P10:
|
case AV_PIX_FMT_YUV420P10:
|
||||||
|
|
Loading…
Reference in New Issue