shithub: openh264

Download patch

ref: 600a79bea6f5c704975efa4c62fbcb52516e012c
parent: 475309307c74cee0453888df87c6774d0407cddc
author: volvet <qizh@cisco.com>
date: Mon Feb 17 06:46:52 EST 2014

correct code style

--- a/codec/encoder/core/inc/wels_preprocess.h
+++ b/codec/encoder/core/inc/wels_preprocess.h
@@ -153,7 +153,7 @@
   bool             m_bOfficialBranch;
   /* For Downsampling & VAA I420 based source pictures */
   SPicture*        m_pSpatialPic[MAX_DEPENDENCY_LAYER][MAX_TEMPORAL_LEVEL + 1 +
-      LONG_TERM_REF_NUM];	// need memory requirement with total number of (log2(uiGopSize)+1+1+long_term_ref_num) 
+      LONG_TERM_REF_NUM];	// need memory requirement with total number of (log2(uiGopSize)+1+1+long_term_ref_num)
   uint8_t          m_uiSpatialLayersInTemporal[MAX_DEPENDENCY_LAYER];
   uint8_t          m_uiSpatialPicNum[MAX_DEPENDENCY_LAYER];
 };
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -564,9 +564,9 @@
 #endif//!MT_ENABLED
 
   if (NULL != pCountLayers)
-    *pCountLayers	= iCountNumLayers;
+    *pCountLayers = iCountNumLayers;
   if (NULL != pCountNals)
-    *pCountNals 	= iCountNumNals;
+    *pCountNals	= iCountNumNals;
   return 0;
 }