validate min_q against max_q
min_q is required to be <= max_q. Change-Id: I28eccf96df3b52a94913762b54c4fbe0d021ce5e
This commit is contained in:
Родитель
dcb23e2aaa
Коммит
2d03f073a7
|
@ -142,8 +142,8 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
|
|||
RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000);
|
||||
RANGE_CHECK(cfg, g_timebase.num, 1, cfg->g_timebase.den);
|
||||
RANGE_CHECK_HI(cfg, g_profile, 3);
|
||||
RANGE_CHECK_HI(cfg, rc_min_quantizer, 63);
|
||||
RANGE_CHECK_HI(cfg, rc_max_quantizer, 63);
|
||||
RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer);
|
||||
RANGE_CHECK_HI(cfg, g_threads, 64);
|
||||
#if !(CONFIG_REALTIME_ONLY)
|
||||
RANGE_CHECK_HI(cfg, g_lag_in_frames, 25);
|
||||
|
|
Загрузка…
Ссылка в новой задаче