shithub: openh264

Download patch

ref: f41424183406efe176b9fcb52fbc92e3fc7923e8
parent: 1140050da6ec258d7fc9efd4cc4b4378c86b1889
author: sijchen <[email protected]>
date: Tue Apr 15 11:54:51 EDT 2014

reformat

--- a/codec/encoder/core/src/picture_handle.cpp
+++ b/codec/encoder/core/src/picture_handle.cpp
@@ -110,12 +110,12 @@
   }
 
   if (iNeedFeatureStorage) {
-    pPic->pScreenBlockFeatureStorage	= static_cast<SScreenBlockFeatureStorage*> (pMa->WelsMallocz (sizeof (SScreenBlockFeatureStorage), "pScreenBlockFeatureStorage"));
+    pPic->pScreenBlockFeatureStorage = static_cast<SScreenBlockFeatureStorage*> (pMa->WelsMallocz (sizeof (SScreenBlockFeatureStorage), "pScreenBlockFeatureStorage"));
     int32_t iReturn = RequestScreenBlockFeatureStorage(pMa, kiWidth,  kiHeight, iNeedFeatureStorage,
       pPic->pScreenBlockFeatureStorage );
     WELS_VERIFY_RETURN_PROC_IF (NULL, ENC_RETURN_SUCCESS != iReturn, FreePicture (pMa, &pPic));
   } else {
-    pPic->pScreenBlockFeatureStorage	= NULL;
+    pPic->pScreenBlockFeatureStorage = NULL;
   }
   return pPic;
 }
--- a/test/encoder/targets.mk
+++ b/test/encoder/targets.mk
@@ -2,7 +2,7 @@
 ENCODER_UNITTEST_CPP_SRCS=\
 	$(ENCODER_UNITTEST_SRCDIR)/EncUT_DecodeMbAux.cpp\
 	$(ENCODER_UNITTEST_SRCDIR)/EncUT_EncoderMb.cpp\
-    $(ENCODER_UNITTEST_SRCDIR)/EncUT_EncoderMbAux.cpp\
+        $(ENCODER_UNITTEST_SRCDIR)/EncUT_EncoderMbAux.cpp\
 	$(ENCODER_UNITTEST_SRCDIR)/EncUT_ExpandPic.cpp\
 	$(ENCODER_UNITTEST_SRCDIR)/EncUT_ExpGolomb.cpp\
 	$(ENCODER_UNITTEST_SRCDIR)/EncUT_GetIntraPredictor.cpp\