shithub: openh264

Download patch

ref: 6a75152a9a852ad49de9b024496f3cf96016d945
parent: f679da900f3a4fc7630a7b5c0335367ed7cabbdb
parent: c917d092635c98acd0c116c2b0dd9e040a4b95c6
author: sijchen <[email protected]>
date: Mon Nov 30 18:04:59 EST 2015

Merge pull request #2287 from GuangweiWang/bugfix

fix bug in UT code

--- a/test/api/encode_decode_api_test.cpp
+++ b/test/api/encode_decode_api_test.cpp
@@ -3232,8 +3232,7 @@
     }
   }
 #ifdef DEBUG_FILE_SAVE_SimulcastAVCDiffFps
-  for (int i = 0; i <)MAX_SPATIAL_LAYER_NUM;
-  i++) {
+  for (int i = 0; i < MAX_SPATIAL_LAYER_NUM; i++) {
     fclose (fEnc[i]);
   }
 #endif