ext rc: assign sb_params_list without condition encode_frame_decision is locally declared so the pointer always needs to be assigned Bug: 477330660 Change-Id: I8e5217ff670efa78f2394b6c22fd0ee32e89e67f
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c index 5545251..95baf9d 100644 --- a/av1/encoder/encoder.c +++ b/av1/encoder/encoder.c
@@ -3445,8 +3445,8 @@ cm, cpi->ext_ratectrl.sb_params_list, (aom_sb_params *)aom_calloc( sb_rows * sb_cols, sizeof(*cpi->ext_ratectrl.sb_params_list))); - encode_frame_decision.sb_params_list = cpi->ext_ratectrl.sb_params_list; } + encode_frame_decision.sb_params_list = cpi->ext_ratectrl.sb_params_list; codec_status = av1_extrc_get_encodeframe_decision( &cpi->ext_ratectrl, cpi->gf_frame_index, &encode_frame_decision); if (codec_status != AOM_CODEC_OK) {