Palette code: remove the use of same if condition twice.
rd_pick_palette_intra_sby() method is called only when, cpi->common.allow_screen_content_tools is on. So, no need to check that again. We just use an assert() instead to still be safe. Change-Id: I19785c2aac016798c8d331bbe91971b3806b73a8
Showing with 106 additions and 107 deletions