shithub: openh264

Download patch

ref: c917d092635c98acd0c116c2b0dd9e040a4b95c6
parent: f679da900f3a4fc7630a7b5c0335367ed7cabbdb
author: Guangwei Wang <guangwwa@cisco.com>
date: Tue Dec 1 03:55:00 EST 2015

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