Commit 9d5d4ef1 authored by Debargha Mukherjee's avatar Debargha Mukherjee

Fix a bug in encoding the restoration tilesize.

Change-Id: I841098396e4932913e41cfc729ef2ee3b7444477
parent c3f5bd1c
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment