[MPlayer-cvslog] r29622 - trunk/stream/librtsp/rtsp_session.c

reimar subversion at mplayerhq.hu
Wed Sep 2 12:28:08 CEST 2009


Author: reimar
Date: Wed Sep  2 12:28:08 2009
New Revision: 29622

Log:
Move variable declaration to where it is used.

Modified:
   trunk/stream/librtsp/rtsp_session.c

Modified: trunk/stream/librtsp/rtsp_session.c
==============================================================================
--- trunk/stream/librtsp/rtsp_session.c	Wed Sep  2 12:22:08 2009	(r29621)
+++ trunk/stream/librtsp/rtsp_session.c	Wed Sep  2 12:28:08 2009	(r29622)
@@ -106,7 +106,6 @@ rtsp_session_t *rtsp_session_start(int f
   rtsp_session_t *rtsp_session = NULL;
   char *server;
   char *mrl_line = NULL;
-  rmff_header_t *h;
 
   rtsp_session = malloc (sizeof (rtsp_session_t));
   rtsp_session->s = NULL;
@@ -138,7 +137,7 @@ rtsp_session_t *rtsp_session_start(int f
   {
     /* we are talking to a real server ... */
 
-    h=real_setup_and_get_header(rtsp_session->s, bandwidth, user, pass);
+    rmff_header_t *h=real_setup_and_get_header(rtsp_session->s, bandwidth, user, pass);
     if (!h) {
       /* got an redirect? */
       if (rtsp_search_answers(rtsp_session->s, RTSP_OPTIONS_LOCATION))


More information about the MPlayer-cvslog mailing list