[FFmpeg-cvslog] libx265: Remove unneeded bit depth check

Derek Buitenhuis git at videolan.org
Thu Jun 12 17:44:06 CEST 2014


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Wed Jun 11 21:20:43 2014 +0100| [7ed89addb7f6271d17c2ba21ec11204e37fa9917] | committer: Derek Buitenhuis

libx265: Remove unneeded bit depth check

This is no longer needed since the version bump.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ed89addb7f6271d17c2ba21ec11204e37fa9917
---

 libavcodec/libx265.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index be5aa1e..4cf8c85 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:



More information about the ffmpeg-cvslog mailing list