Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-06-12 00:20:43 +0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-06-12 19:43:31 +0400
commit7ed89addb7f6271d17c2ba21ec11204e37fa9917 (patch)
tree8b85413b1635464b7b65fb9644fdbbabc4d31434 /libavcodec/libx265.c
parent6ee95af8a1181f02e7f3adb9b5d488ba3314e220 (diff)
libx265: Remove unneeded bit depth check
This is no longer needed since the version bump. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/libx265.c')
-rw-r--r--libavcodec/libx265.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index be5aa1ed76..4cf8c85729 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: