shithub: openh264

Download patch

ref: 90eee67eb73b991ba67f09c5f0c0c9362a5ae11e
parent: c44d4a7f0791cb2f1a3bd85e90ea7d580785e022
author: Martin Storsjö <martin@martin.st>
date: Fri Nov 28 08:05:32 EST 2014

Don't set invalid iLoopFilterDisableIdc in RandomParamExtCombination

--- a/test/api/encode_decode_api_test.cpp
+++ b/test/api/encode_decode_api_test.cpp
@@ -244,7 +244,7 @@
   param_.iLtrMarkPeriod            = rand();
 
   //loop filter
-  param_.iLoopFilterDisableIdc     = rand();
+  param_.iLoopFilterDisableIdc     = rand() % 7;
   param_.iLoopFilterAlphaC0Offset  = rand();
   param_.iLoopFilterBetaOffset     = rand();