Fix a bug in encoding the restoration tilesize. Change-Id: I841098396e4932913e41cfc729ef2ee3b7444477
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c index e422b9d..ef746ed 100644 --- a/av1/encoder/bitstream.c +++ b/av1/encoder/bitstream.c
@@ -3396,9 +3396,6 @@ 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(