[FFmpeg-soc] [soc]: r5923 - mms/mmsh.c

spyfeng subversion at mplayerhq.hu
Wed Aug 18 18:43:09 CEST 2010


Author: spyfeng
Date: Wed Aug 18 18:43:09 2010
New Revision: 5923

Log:
fix weird indent and clarify the log messages.

Modified:
   mms/mmsh.c

Modified: mms/mmsh.c
==============================================================================
--- mms/mmsh.c	Wed Aug 18 18:32:31 2010	(r5922)
+++ mms/mmsh.c	Wed Aug 18 18:43:09 2010	(r5923)
@@ -226,7 +226,7 @@ static int mmsh_open(URLContext *h, cons
     av_strlcpy(location, uri, sizeof(location));
 
     ff_url_split(NULL, 0, NULL, 0,
-            host, sizeof(host), &port, path, sizeof(path), location);
+        host, sizeof(host), &port, path, sizeof(path), location);
     if (port<0)
         port = 80; // default mmsh protocol port
     ff_url_join(httpname, sizeof(httpname), "http", NULL, host, port, path);
@@ -304,12 +304,12 @@ static int mmsh_open(URLContext *h, cons
         goto fail;
     }
 
-    dprintf(NULL, "Leaving mmsh open success.\n");
+    dprintf(NULL, "Open connection successfully.\n");
     return 0;
 fail:
     av_freep(&stream_selection);
     mmsh_close(h);
-    dprintf(NULL, "Leaving mmsh open (failure: %d)\n", err);
+    dprintf(NULL, "Open connection failed! (error = %d)\n", err);
     return err;
 }
 


More information about the FFmpeg-soc mailing list