Browse Source

avformat/udp: remove unneeded variable initialization

Found-by: James Darnley <james.darnley@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Michael Niedermayer 11 years ago
parent
commit
74c81106d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/udp.c

+ 1
- 1
libavformat/udp.c View File

@@ -325,7 +325,7 @@ static int udp_socket_create(UDPContext *s, struct sockaddr_storage *addr,
socklen_t *addr_len, const char *localaddr)
{
int udp_fd = -1;
struct addrinfo *res0 = NULL, *res = NULL;
struct addrinfo *res0, *res;
int family = AF_UNSPEC;

if (((struct sockaddr *) &s->dest_addr)->sa_family)


Loading…
Cancel
Save