diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c index e422b9d88414d5278dba5a419d1e083c8d3e2178..ef746ede01d5dc0f354eb663213b0a797e9b3bf2 100644 --- a/av1/encoder/bitstream.c +++ b/av1/encoder/bitstream.c @@ -3396,9 +3396,6 @@ static void encode_restoration_mode(AV1_COMMON *cm, cm->rst_info[1].frame_restoration_type != RESTORE_NONE || cm->rst_info[2].frame_restoration_type != RESTORE_NONE) { rsi = &cm->rst_info[0]; - if (rsi->restoration_tilesize == RESTORATION_TILESIZE_MAX) { - aom_wb_write_bit(wb, 0); - } aom_wb_write_bit(wb, rsi->restoration_tilesize != RESTORATION_TILESIZE_MAX); if (rsi->restoration_tilesize != RESTORATION_TILESIZE_MAX) { aom_wb_write_bit(