git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libx265: Remove unneeded bit depth check
[ffmpeg.git]
/
libavcodec
/
libx265.c
diff --git
a/libavcodec/libx265.c
b/libavcodec/libx265.c
index
be5aa1e
..
4cf8c85
100644
(file)
--- 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: