rtpproto: Remove an unused variable

Message ID 1304952055-56679-1-git-send-email-martin@martin.st
State Committed
Commit f9a6cfdd040991bfdbcf2bc97de6666a2ddcd97f
Headers show

Commit Message

Martin Storsjö May 9, 2011, 2:40 p.m.
---
 libavformat/rtpproto.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

Comments

Luca Barbato May 9, 2011, 4:08 p.m. | #1
On 5/9/11 4:40 PM, Martin Storsjö wrote:
> ---
>   libavformat/rtpproto.c |    4 +---
>   1 files changed, 1 insertions(+), 3 deletions(-)

Ok

Patch

diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index e1659ee..1340665 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -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);