]> git.sesse.net Git - vlc/commitdiff
live555: remove read-only variable
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 26 Nov 2013 08:10:06 +0000 (09:10 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 26 Nov 2013 08:10:20 +0000 (09:10 +0100)
modules/access/live555.cpp

index b61546b6902ca7dca4b437cb05b9931b1d0084de..824cdf2198ae7daf8488e6c32a12abfeddc7ac48 100644 (file)
@@ -1197,7 +1197,6 @@ static int Demux( demux_t *p_demux )
     TaskToken      task;
 
     bool            b_send_pcr = true;
-    int64_t         i_pcr = 0;
     int             i;
 
     /* Check if we need to send the server a Keep-A-Live signal */
@@ -1252,16 +1251,6 @@ static int Demux( demux_t *p_demux )
 
         if( tk->b_asf || tk->b_muxed )
             b_send_pcr = false;
-#if 0
-        if( i_pcr == 0 )
-        {
-            i_pcr = tk->i_pts;
-        }
-        else if( tk->i_pts != 0 && i_pcr > tk->i_pts )
-        {
-            i_pcr = tk->i_pts ;
-        }
-#endif
     }
     if( p_sys->i_pcr > 0 )
     {
@@ -1308,7 +1297,6 @@ static int Demux( demux_t *p_demux )
             tk->f_npt = 0.;
             p_sys->i_pcr = 0;
             p_sys->f_npt = 0.;
-            i_pcr = 0;
         }
     }