Commit d3f441c9 authored by Jingning Han's avatar Jingning Han

Resolve codec issue between tile-groups and ext-refs

This fixes the coding failure when both tile-groups and ext-refs
are turned on. It clears the nightly-run unit test failure.

Change-Id: Idb67580ebe3ef625cf3ab18dcf7a274db4dacab3
parent 2ba3277a
......@@ -4061,6 +4061,13 @@ static uint32_t write_tiles(AV1_COMP *const cpi, uint8_t *const dst,
#if CONFIG_TILE_GROUPS
write_uncompressed_header(cpi, wb);
#if CONFIG_EXT_REFS
if (cm->show_existing_frame) {
total_size = aom_wb_bytes_written(wb);
return (uint32_t)total_size;
}
#endif // CONFIG_EXT_REFS
// Write the tile length code
tile_size_bytes_wb = *wb;
aom_wb_write_literal(wb, 3, 2);
......
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