summaryrefslogtreecommitdiff
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-09 16:50:03 +0300
committerMartin Storsjö <martin@martin.st>2011-05-09 19:14:37 +0300
commitf9a6cfdd040991bfdbcf2bc97de6666a2ddcd97f (patch)
tree64bf9e247c76c9a03bc1bfbd2a52c50b0b5990a9 /libavformat/rtpproto.c
parentecfc5e0b72eb24736cf1fcf9e91ee31f34626b47 (diff)
rtpproto: Remove an unused variable
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index e1659ee02d..1340665c74 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);