rtpproto: Remove an unused variable
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
ecfc5e0b72
commit
f9a6cfdd04
@ -138,15 +138,13 @@ static int rtp_open(URLContext *h, const char *uri, int flags)
|
|||||||
{
|
{
|
||||||
RTPContext *s;
|
RTPContext *s;
|
||||||
int rtp_port, rtcp_port,
|
int rtp_port, rtcp_port,
|
||||||
is_output, ttl, connect,
|
ttl, connect,
|
||||||
local_rtp_port, local_rtcp_port, max_packet_size;
|
local_rtp_port, local_rtcp_port, max_packet_size;
|
||||||
char hostname[256];
|
char hostname[256];
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
char path[1024];
|
char path[1024];
|
||||||
const char *p;
|
const char *p;
|
||||||
|
|
||||||
is_output = (flags & AVIO_FLAG_WRITE);
|
|
||||||
|
|
||||||
s = av_mallocz(sizeof(RTPContext));
|
s = av_mallocz(sizeof(RTPContext));
|
||||||
if (!s)
|
if (!s)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
|
Loading…
Reference in New Issue
Block a user