vp8e_encode: check validate_config return
Change-Id: I56fad85cae4537f9d68febf9b9264c3e1cf82ce1
This commit is contained in:
parent
a390b90f01
commit
c0523090be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user