From a79c54cde72abe6309eaf9d2ee20f67694026d1d Mon Sep 17 00:00:00 2001 From: ruil2 Date: Wed, 11 Jun 2014 12:04:59 +0800 Subject: [PATCH] fix a typo --- test/decoder/DecUT_ExpandPicture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/decoder/DecUT_ExpandPicture.cpp b/test/decoder/DecUT_ExpandPicture.cpp index 78cb2581..321cdc42 100644 --- a/test/decoder/DecUT_ExpandPicture.cpp +++ b/test/decoder/DecUT_ExpandPicture.cpp @@ -156,7 +156,7 @@ TEST (ExpandPicture, ExpandPictureChroma) { for (int32_t iTestIdx = 0; iTestIdx < EXPAND_PIC_TEST_NUM; iTestIdx++) { int32_t iPicWidth = (8 + (rand() % 200) * 8); - if(uiCpuFlag && WELS_CPU_SSE2) + if(uiCpuFlag & WELS_CPU_SSE2) { iPicWidth = WELS_MAX(iPicWidth, 16); }