Commit 70c9b3c6 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "vp9_cx_iface,encoder_encode: check validate_img return"

parents 9152d434 c42a2814
......@@ -1108,7 +1108,7 @@ static vpx_codec_err_t encoder_encode(vpx_codec_alg_priv_t *ctx,
}
cpi->common.error.setjmp = 1;
vp9_apply_encoding_flags(cpi, flags);
if (res == VPX_CODEC_OK) vp9_apply_encoding_flags(cpi, 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