Set input_shift properly Profile 0 now supports 10 bit, therefore no longer means input_shift at 0. Change-Id: Idae429b88ee5c073ee6e939a88d569c5ffde2b0d
diff --git a/aomenc.c b/aomenc.c index 375a8ae..e72bdee 100644 --- a/aomenc.c +++ b/aomenc.c
@@ -2186,12 +2186,8 @@ if (stream->config.use_16bit_internal) { use_16bit_internal = 1; } - if (stream->config.cfg.g_profile == 0) { - input_shift = 0; - } else { - input_shift = (int)stream->config.cfg.g_bit_depth - - stream->config.cfg.g_input_bit_depth; - } + input_shift = (int)stream->config.cfg.g_bit_depth - + stream->config.cfg.g_input_bit_depth; }; }