avformat/udp: remove unneeded variable initialization

Found-by: James Darnley <james.darnley@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/82/head
Michael Niedermayer 10 years ago
parent 7916053ced
commit 74c81106d2
  1. 2
      libavformat/udp.c

@ -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