ref: c0523090be68f578c612403d8844b583dcc685ed
parent: a390b90f0153c4f861f3848c4e700b3847376275
author: James Zern <[email protected]>
date: Mon Aug 24 16:07:48 EDT 2015
vp8e_encode: check validate_config return Change-Id: I56fad85cae4537f9d68febf9b9264c3e1cf82ce1
--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -879,7 +879,8 @@
}
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