OSDN Git Service

Don't compare an unsigned variable with 0
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 13 Mar 2018 05:58:50 +0000 (13:58 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 14 Mar 2018 15:12:08 +0000 (23:12 +0800)
commitcdeabaefb7e963f0387d44f52a80408517294473
treea1e52560f1bd1be07ae6c5db17d087e03fddb74e
parent2ef2acb165a349c1c6ac6795b6f5a3fcc980aeb2
Don't compare an unsigned variable with 0

For an unsigned variable xxx, 'xxx < 0U' is always false, and 'xxx >=
0U' is always true

In addition, this commit fixes a minor syntax error.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/gen10_hevc_enc_common.c
src/gen6_mfc.c
src/gen75_mfc.c
src/gen8_mfc.c
src/i965_encoder_vp8.c