Remove unneeded check for RESTORE_NONE
av1_loop_restoration_corners_in_sb, which is called before this,
will signal not to read the coefficients if RESTORE_NONE is set.
Change-Id: Id65f5b1518c7dc6a696cff2842752870a5c974f3
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index 1bfa975..f85375b 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -1693,7 +1693,7 @@
int runit_idx) {
const RestorationInfo *rsi = &cm->rst_info[plane];
RestorationUnitInfo *rui = &rsi->unit_info[runit_idx];
- if (rsi->frame_restoration_type == RESTORE_NONE) return;
+ assert(rsi->frame_restoration_type != RESTORE_NONE);
assert(!cm->features.all_lossless);