av1_loop_restoration_filter_frame: Remove assert.
We disable loop restoration when lossless frame is explicitly requested.
But rate control in the encoder may implicitly decide to encode a frame
as lossless too (with base_qindex == 0), in which case we do NOT disable
loop restoration.
Hence, the earlier assertion wasn't always true.
BUG=aomedia:1635
Change-Id: Id77c7866b85a998fafc87e2e6c00ded9c2d2019c
diff --git a/av1/common/restoration.c b/av1/common/restoration.c
index 8b650e1..103e45c 100644
--- a/av1/common/restoration.c
+++ b/av1/common/restoration.c
@@ -1135,7 +1135,6 @@
void av1_loop_restoration_filter_frame(YV12_BUFFER_CONFIG *frame,
AV1_COMMON *cm) {
- assert(!cm->all_lossless);
const int num_planes = av1_num_planes(cm);
typedef void (*copy_fun)(const YV12_BUFFER_CONFIG *src,
YV12_BUFFER_CONFIG *dst);