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 490b0fcc95849eb0cfa6a1827e73c9ddcc1ff9db..8697377892ea195d0eb3c4c11c76e4123378facb 100644 |
--- a/source/libvpx/vp8/vp8_cx_iface.c |
+++ b/source/libvpx/vp8/vp8_cx_iface.c |
@@ -135,7 +135,7 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, |
RANGE_CHECK(cfg, g_w, 1, 16383); /* 14 bits available */ |
RANGE_CHECK(cfg, g_h, 1, 16383); /* 14 bits available */ |
RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); |
- RANGE_CHECK(cfg, g_timebase.num, 1, cfg->g_timebase.den); |
+ RANGE_CHECK(cfg, g_timebase.num, 1, 1000000000); |
RANGE_CHECK_HI(cfg, g_profile, 3); |
RANGE_CHECK_HI(cfg, rc_max_quantizer, 63); |
RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer); |
@@ -478,8 +478,6 @@ static vpx_codec_err_t vp8e_set_config(vpx_codec_alg_priv_t *ctx, |
return res; |
} |
-int vp8_reverse_trans(int); |
- |
static vpx_codec_err_t get_quantizer(vpx_codec_alg_priv_t *ctx, va_list args) |
{ |
int *const arg = va_arg(args, int *); |