]> git.sesse.net Git - vlc/blobdiff - modules/demux/sgimb.c
All: string review (refs: #438)
[vlc] / modules / demux / sgimb.c
index 0f0eb04a5b9c019a60405358aaa3f4287975f87d..509ca1d9a9c169fefeb3f8ad3db1a32fb5174b11 100644 (file)
@@ -337,7 +337,7 @@ static int Demux ( demux_t *p_demux )
     playlist_t      *p_playlist;
     playlist_item_t *p_item;
     playlist_item_t *p_child;
-    
+
     char            *psz_line;
 
     p_playlist = (playlist_t *) vlc_object_find( p_demux, VLC_OBJECT_PLAYLIST,
@@ -375,10 +375,10 @@ static int Demux ( demux_t *p_demux )
         if( p_sys->psz_server && p_sys->psz_location )
         {
             char *temp;
-            
+
             asprintf( &temp, "rtsp://" "%s:%i%s",
                      p_sys->psz_server, p_sys->i_port > 0 ? p_sys->i_port : 554, p_sys->psz_location );
-            
+
             p_sys->psz_uri = strdup( temp );
             free( temp );
         }
@@ -395,7 +395,7 @@ static int Demux ( demux_t *p_demux )
             msg_Err( p_demux, "no URI was found" );
             return -1;
         }
-        
+
         asprintf( &temp, "%s%%3FMeDiAbAsEshowingId=%d%%26MeDiAbAsEconcert%%3FMeDiAbAsE",
                 p_sys->psz_uri, p_sys->i_sid );
 
@@ -424,9 +424,9 @@ static int Demux ( demux_t *p_demux )
     if( !p_sys->psz_mcast_ip )
     {
         char *psz_option;
-       asprintf( &psz_option, "rtsp-caching=5000" );
-       playlist_ItemAddOption( p_child, psz_option );
-       free( psz_option );
+        asprintf( &psz_option, "rtsp-caching=5000" );
+        playlist_ItemAddOption( p_child, psz_option );
+        free( psz_option );
     }
     if( !p_sys->psz_mcast_ip && p_sys->b_rtsp_kasenna )
     {