mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/udp: remove unneeded variable initialization
Found-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7916053ced
commit
74c81106d2
@ -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…
Reference in New Issue
Block a user