diff --git a/test/api/encode_decode_api_test.cpp b/test/api/encode_decode_api_test.cpp index 5b78b92a..d83b7e2e 100644 --- a/test/api/encode_decode_api_test.cpp +++ b/test/api/encode_decode_api_test.cpp @@ -244,7 +244,7 @@ void EncodeDecodeTestAPI::RandomParamExtCombination() { param_.iLtrMarkPeriod = rand(); //loop filter - param_.iLoopFilterDisableIdc = rand(); + param_.iLoopFilterDisableIdc = rand() % 7; param_.iLoopFilterAlphaC0Offset = rand(); param_.iLoopFilterBetaOffset = rand();