Fix a compiling issue When striped_loop_restoration is not enabled. Change-Id: If681adab344226d54947d3b35aa5d9aace9df991
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c index 04a59fe..ee5ea54 100644 --- a/av1/decoder/decodeframe.c +++ b/av1/decoder/decodeframe.c
@@ -3806,7 +3806,9 @@ if (cm->rst_info[0].frame_restoration_type != RESTORE_NONE || cm->rst_info[1].frame_restoration_type != RESTORE_NONE || cm->rst_info[2].frame_restoration_type != RESTORE_NONE) { +#if CONFIG_STRIPED_LOOP_RESTORATION av1_loop_restoration_save_boundary_lines(&pbi->cur_buf->buf, cm, 1); +#endif av1_loop_restoration_filter_frame((YV12_BUFFER_CONFIG *)xd->cur_buf, cm, cm->rst_info, 7, NULL); }
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c index a37d785..bde117c 100644 --- a/av1/encoder/encoder.c +++ b/av1/encoder/encoder.c
@@ -4715,7 +4715,9 @@ cm->rst_info[1].frame_restoration_type = RESTORE_NONE; cm->rst_info[2].frame_restoration_type = RESTORE_NONE; } else { +#if CONFIG_STRIPED_LOOP_RESTORATION av1_loop_restoration_save_boundary_lines(cm->frame_to_show, cm, 1); +#endif av1_pick_filter_restoration(cpi->source, cpi); if (cm->rst_info[0].frame_restoration_type != RESTORE_NONE || cm->rst_info[1].frame_restoration_type != RESTORE_NONE ||