Commit 913867b4 authored by Yaowu Xu's avatar Yaowu Xu

Set input_shift properly

Profile 0 now supports 10 bit, therefore no longer means input_shift
at 0.

Change-Id: Idae429b88ee5c073ee6e939a88d569c5ffde2b0d
parent d4327bce
......@@ -2186,12 +2186,8 @@ int main(int argc, const char **argv_) {
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;
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment