[vlc-devel] [PATCH] live555: fix compiler warnings re: unused variables.

Dominique Leuenberger dominique at leuenberger.net
Sat Jan 24 00:11:47 CET 2009


---
 modules/demux/live555.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index b5f7930..843ef3d 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -235,8 +235,6 @@ static int  Open ( vlc_object_t *p_this )
     demux_t     *p_demux = (demux_t*)p_this;
     demux_sys_t *p_sys = NULL;
 
-    MediaSubsessionIterator *iter   = NULL;
-    MediaSubsession         *sub    = NULL;
     int i, i_return;
     int i_error = VLC_EGENERIC;
 
@@ -1034,7 +1032,6 @@ static int SessionsSetup( demux_t *p_demux )
 static int Play( demux_t *p_demux )
 {
     demux_sys_t *p_sys = p_demux->p_sys;
-    int i;
 
     if( p_sys->rtsp )
     {
@@ -1327,7 +1324,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
         case DEMUX_SET_RATE:
         {
             double f_scale, f_old_scale;
-            int i;
 
             if( !p_sys->rtsp || (p_sys->i_npt_length <= 0) ||
                 var_GetBool( p_demux, "rtsp-kasenna" ) )
-- 
1.5.4.5




More information about the vlc-devel mailing list