diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2014-06-11 21:20:43 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2014-06-12 16:45:02 +0100 |
commit | ceada893bec1e29e457bd2b81d8a0b6fcba5f1f7 (patch) | |
tree | 04cd425f50df175e1a685f79d4eab450b5d6d6d5 | |
parent | 61a344916d324c8ca52064964478f46c877f02e2 (diff) | |
download | ffmpeg-ceada893bec1e29e457bd2b81d8a0b6fcba5f1f7.tar.gz |
libx265: Remove unneeded bit depth check
This is no longer needed since the version bump.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavcodec/libx265.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 5f27662079..026f6ff057 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: |