Commit c0523090 authored by James Zern's avatar James Zern

vp8e_encode: check validate_config return

Change-Id: I56fad85cae4537f9d68febf9b9264c3e1cf82ce1
parent a390b90f
......@@ -879,7 +879,8 @@ static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t *ctx,
}
ctx->control_frame_flags = 0;
res = set_reference_and_update(ctx, flags);
if (!res)
res = set_reference_and_update(ctx, flags);
/* Handle fixed keyframe intervals */
if (ctx->cfg.kf_mode == VPX_KF_AUTO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment