Commit 9ef63ebf authored by Committed by Romain Vimont
Avoid negative block offset in get_comp_mode_ctx()
Boolean variables were used to check left and top boundaries, but the BlockOffset were created with negative values regardless. Refactor to never create negative block offsets. Fixes <https://github.com/xiph/rav1e/issues/1103>.
Showing with 28 additions and 12 deletions