Merge "Set use_highbitdepth flag to either 1 or 0"
This commit is contained in:
@@ -4141,7 +4141,7 @@ int vp9_receive_raw_frame(VP9_COMP *cpi, unsigned int frame_flags,
|
|||||||
const int subsampling_x = sd->subsampling_x;
|
const int subsampling_x = sd->subsampling_x;
|
||||||
const int subsampling_y = sd->subsampling_y;
|
const int subsampling_y = sd->subsampling_y;
|
||||||
#if CONFIG_VP9_HIGHBITDEPTH
|
#if CONFIG_VP9_HIGHBITDEPTH
|
||||||
const int use_highbitdepth = sd->flags & YV12_FLAG_HIGHBITDEPTH;
|
const int use_highbitdepth = (sd->flags & YV12_FLAG_HIGHBITDEPTH) != 0;
|
||||||
check_initial_width(cpi, use_highbitdepth, subsampling_x, subsampling_y);
|
check_initial_width(cpi, use_highbitdepth, subsampling_x, subsampling_y);
|
||||||
#else
|
#else
|
||||||
check_initial_width(cpi, subsampling_x, subsampling_y);
|
check_initial_width(cpi, subsampling_x, subsampling_y);
|
||||||
|
Reference in New Issue
Block a user