]> granicus.if.org Git - libvpx/commitdiff
Fix typos in control function for VP9E_SET_TARGET_LEVEL
authorhui su <huisu@google.com>
Thu, 12 May 2016 02:15:57 +0000 (19:15 -0700)
committerhui su <huisu@google.com>
Thu, 12 May 2016 03:23:52 +0000 (20:23 -0700)
Change-Id: Ic797c6be579c3434681a5e9dbb3900ae49c43958

vp9/vp9_cx_iface.c
vpx/vp8cx.h

index 5e44ffd50ae639ba81f362d59085dfbb97b716d4..1a11a6d5bb7aa9460f8a26b9e95c8bfd836f76e6 100644 (file)
@@ -803,7 +803,7 @@ static vpx_codec_err_t ctrl_set_frame_periodic_boost(vpx_codec_alg_priv_t *ctx,
 static vpx_codec_err_t ctrl_set_target_level(vpx_codec_alg_priv_t *ctx,
                                              va_list args) {
   struct vp9_extracfg extra_cfg = ctx->extra_cfg;
-  extra_cfg.target_level = CAST(VP9E_SET_LEVEL_STATS, args);
+  extra_cfg.target_level = CAST(VP9E_SET_TARGET_LEVEL, args);
   return update_extra_cfg(ctx, &extra_cfg);
 }
 
index 109306f2edbdd674a670b5626b4d14169e2bd972..b059d47d1f1cde43c7e9b7effafca645d3db5ca5 100644 (file)
@@ -562,7 +562,7 @@ enum vp8e_enc_control_id {
    *
    * Supported in codecs: VP9
    */
-  VP9E_SET_TARGET_LEVEL,
+  VP9E_SET_TARGET_LEVEL
 };
 
 /*!\brief vpx 1-D scaling mode
@@ -818,8 +818,8 @@ VPX_CTRL_USE_TYPE(VP9E_SET_SVC_REF_FRAME_CONFIG, vpx_svc_ref_frame_config_t *)
 VPX_CTRL_USE_TYPE(VP9E_SET_RENDER_SIZE, int *)
 #define VPX_CTRL_VP9E_SET_RENDER_SIZE
 
-VPX_CTRL_USE_TYPE(VP9E_SET_LEVEL_STATS,  unsigned int)
-#define VPX_CTRL_VP9E_SET_LEVEL_STATS
+VPX_CTRL_USE_TYPE(VP9E_SET_TARGET_LEVEL,  unsigned int)
+#define VPX_CTRL_VP9E_SET_TARGET_LEVEL
 
 /*!\endcond */
 /*! @} - end defgroup vp8_encoder */