rtpproto: Remove an unused variable
authorMartin Storsjö <martin@martin.st>
Mon, 9 May 2011 13:50:03 +0000 (16:50 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 9 May 2011 16:14:37 +0000 (19:14 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpproto.c

index e1659ee..1340665 100644 (file)
@@ -138,15 +138,13 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
 {
     RTPContext *s;
     int rtp_port, rtcp_port,
-        is_output, ttl, connect,
+        ttl, connect,
         local_rtp_port, local_rtcp_port, max_packet_size;
     char hostname[256];
     char buf[1024];
     char path[1024];
     const char *p;
 
-    is_output = (flags & AVIO_FLAG_WRITE);
-
     s = av_mallocz(sizeof(RTPContext));
     if (!s)
         return AVERROR(ENOMEM);