commit | f1906e966a79cb8ed61411f986a3149191806462 | [log] [tgz] |
---|---|---|
author | Urvang Joshi <urvang@google.com> | Tue Aug 23 15:01:41 2016 -0700 |
committer | Urvang Joshi <urvang@google.com> | Tue Aug 23 15:01:41 2016 -0700 |
tree | 66d7240f892ad5ef78f558882e0bf5029cdfb0e7 | |
parent | 7e5aa9e7a55459abf11cff40f0af04b4a1224693 [diff] |
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