shithub: openh264

Download patch

ref: abdeb1951debec08a7ca8dc2859c3a9d3dc4c7b5
parent: 23df8a9ff6ac759f2d8e724679a04c36f18d3c5d
author: ruil2 <ruil2@cisco.com>
date: Mon Mar 3 04:07:16 EST 2014

format update

--- a/codec/encoder/core/src/encoder.cpp
+++ b/codec/encoder/core/src/encoder.cpp
@@ -78,10 +78,9 @@
   pSrcPic->iPicWidth		= kiWidth;
   pSrcPic->iPicHeight		= kiHeight;
 
-  //currently encoder only supports videoFormatI420. 
+  //currently encoder only supports videoFormatI420.
   if((kiColorspace & (~videoFormatVFlip))!= videoFormatI420)
       return 2;
-    
   switch (kiColorspace & (~videoFormatVFlip)) {
   case videoFormatI420:
   case videoFormatYV12: