You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +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:
@@ -325,7 +325,7 @@ static int udp_socket_create(UDPContext *s, struct sockaddr_storage *addr,
|
|||||||
socklen_t *addr_len, const char *localaddr)
|
socklen_t *addr_len, const char *localaddr)
|
||||||
{
|
{
|
||||||
int udp_fd = -1;
|
int udp_fd = -1;
|
||||||
struct addrinfo *res0 = NULL, *res = NULL;
|
struct addrinfo *res0, *res;
|
||||||
int family = AF_UNSPEC;
|
int family = AF_UNSPEC;
|
||||||
|
|
||||||
if (((struct sockaddr *) &s->dest_addr)->sa_family)
|
if (((struct sockaddr *) &s->dest_addr)->sa_family)
|
||||||
|
Reference in New Issue
Block a user