[vlc-commits] live555: remove read-only variable

Jean-Baptiste Kempf git at videolan.org
Tue Nov 26 10:53:04 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov 26 09:10:06 2013 +0100| [3896a14b6054329ddc18458b1dc575d2182b8dff] | committer: Jean-Baptiste Kempf

live555: remove read-only variable

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

 modules/access/live555.cpp |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index b61546b..824cdf2 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -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;
         }
     }
 



More information about the vlc-commits mailing list