Index: source/libvpx/vp8/vp8_cx_iface.c |
diff --git a/source/libvpx/vp8/vp8_cx_iface.c b/source/libvpx/vp8/vp8_cx_iface.c |
index af9cc7320b9b29f11542ef582fcc67bd65c6d9a0..490b0fcc95849eb0cfa6a1827e73c9ddcc1ff9db 100644 |
--- a/source/libvpx/vp8/vp8_cx_iface.c |
+++ b/source/libvpx/vp8/vp8_cx_iface.c |
@@ -199,7 +199,7 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, |
RANGE_CHECK_HI(vp8_cfg, arnr_strength, 6); |
RANGE_CHECK(vp8_cfg, arnr_type, 1, 3); |
RANGE_CHECK(vp8_cfg, cq_level, 0, 63); |
- RANGE_CHECK_BOOL(vp8_cfg, screen_content_mode); |
+ RANGE_CHECK_HI(vp8_cfg, screen_content_mode, 2); |
if (finalize && (cfg->rc_end_usage == VPX_CQ || cfg->rc_end_usage == VPX_Q)) |
RANGE_CHECK(vp8_cfg, cq_level, |
cfg->rc_min_quantizer, cfg->rc_max_quantizer); |