| 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 fe88cd4b1b3adb906c1fb210f8ec2107cb24eef1..960c2f4ef47329787887b31e741253231335cb2e 100644
|
| --- a/source/libvpx/vp8/vp8_cx_iface.c
|
| +++ b/source/libvpx/vp8/vp8_cx_iface.c
|
| @@ -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
|
|
|