[vlc-devel] commit: rtp: Remove an unused variable. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 14:28:33 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 12:57:46 2009 +0200| [a7866ea7142e914d1c854606ff14585488dee321] | committer: Pierre d'Herbemont 

rtp: Remove an unused variable.

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

 modules/stream_out/rtp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index c496ee3..fa14f13 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -854,7 +854,6 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
      * mux (TS/PS), then p_fmt is NULL. */
     sout_stream_sys_t *p_sys = p_stream->p_sys;
     sout_stream_id_t  *id;
-    int               cscov = -1;
     char              *psz_sdp;
 
     if (0xffffffff == p_sys->payload_bitmap)
@@ -1258,6 +1257,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
         p_sys->payload_bitmap |= 1 << (id->i_payload_type - 96);
 
 #if 0 /* No payload formats sets this at the moment */
+    int cscov = -1;
     if( cscov != -1 )
         cscov += 8 /* UDP */ + 12 /* RTP */;
     if( id->sinkc > 0 )




More information about the vlc-devel mailing list