[FFmpeg-cvslog] rtpproto: Remove an unused variable
Martin Storsjö
git at videolan.org
Tue May 10 04:03:35 CEST 2011
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon May 9 16:50:03 2011 +0300| [f9a6cfdd040991bfdbcf2bc97de6666a2ddcd97f] | committer: Martin Storsjö
rtpproto: Remove an unused variable
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f9a6cfdd040991bfdbcf2bc97de6666a2ddcd97f
---
libavformat/rtpproto.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
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);
More information about the ffmpeg-cvslog
mailing list