shithub: openh264

Download patch

ref: 0c5350c58dd21c5803a30b1393025e46954a24db
parent: 40a2186093388a87f1f6638b3a0f55745aa44abf
author: zhuling13 <[email protected]>
date: Wed Jun 4 21:36:05 EDT 2014

modify

--- a/test/build/ios/codec_unittest/codec_unittest/AppDelegate.m
+++ b/test/build/ios/codec_unittest/codec_unittest/AppDelegate.m
@@ -15,7 +15,6 @@
     // Override point for customization after application launch.
     return YES;
 }
-							
 - (void)applicationWillResignActive:(UIApplication *)application
 {
     // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
--- a/test/build/ios/codec_unittest/codec_unittest/main.m
+++ b/test/build/ios/codec_unittest/codec_unittest/main.m
@@ -16,13 +16,11 @@
 int GetDocumentPath(char *pPath, unsigned long *pLen)
 {
     if (!pLen) return 1;
-    
     unsigned long uPathLen = *pLen;
     if(NULL == pPath || 0 == uPathLen)
     {
         return 1;
     }
-    
     NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
     if([paths count] == 0)
     {
@@ -33,7 +31,6 @@
     unsigned long uDocumentPathLen = [escapedPath length];
     uPathLen= (uDocumentPathLen <= uPathLen) ? uDocumentPathLen : uPathLen;
     memcpy(pPath,[escapedPath UTF8String],uPathLen);
-    
     return 0;
 }
 
@@ -51,7 +48,6 @@
     char path[1024] = "";
     GetDocumentPath(xmlWritePath,&uPathLen);
     sprintf(path, "%s%s",xmlWritePath,"/codec_unittest.xml");
-    
 #endif
     argc =2;
     argv[0]="codec_unittest";