[vlc-commits] live555: remove unused variables

Jean-Baptiste Kempf git at videolan.org
Thu May 19 23:59:07 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 19 23:58:13 2011 +0200| [d93e3c37b9d1c93c80800fab7a92968fba3fc372] | committer: Jean-Baptiste Kempf

live555: remove unused variables

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d93e3c37b9d1c93c80800fab7a92968fba3fc372
---

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

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index dd262b5..a59a23d 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -566,8 +566,6 @@ static int Connect( demux_t *p_demux )
     char *psz_user    = NULL;
     char *psz_pwd     = NULL;
     char *psz_url     = NULL;
-    char *psz_options = NULL;
-    char *p_sdp       = NULL;
     int  i_http_port  = 0;
     int  i_ret        = VLC_SUCCESS;
     const int i_timeout = var_InheritInteger( p_demux, "ipv4-timeout" );
@@ -1724,6 +1722,8 @@ static void StreamRead( void *p_private, unsigned int i_size,
                         unsigned int i_truncated_bytes, struct timeval pts,
                         unsigned int duration )
 {
+    VLC_UNUSED( duration );
+
     live_track_t   *tk = (live_track_t*)p_private;
     demux_t        *p_demux = tk->p_demux;
     demux_sys_t    *p_sys = p_demux->p_sys;



More information about the vlc-commits mailing list