ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Sat Aug 16 15:50:27 2014 +0200| [74c81106d231295ca0d4e8afdfb347ae1e9fb8a9] | committer: Michael Niedermayer
avformat/udp: remove unneeded variable initialization Found-by: James Darnley <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=74c81106d231295ca0d4e8afdfb347ae1e9fb8a9 --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 8412eeb..e87cd14 100644 --- a/libavformat/udp.c +++ b/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) _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
