From 6308cacaf4ae2d3fc92ecc53e52e16df0596f0f2 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Sat, 31 Mar 2007 16:36:56 +0000 Subject: [PATCH] Fix warning: ffserver.c:4303: warning: 'acl.next' is used uninitialized in this function patch by Stanislav Brabec, sbrabec suse cz Originally committed as revision 8573 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index 29b785b3e9..063ac5a028 100644 --- a/ffserver.c +++ b/ffserver.c @@ -4296,8 +4296,8 @@ static int parse_ffconfig(const char *filename) IPAddressACL *nacl = (IPAddressACL *) av_mallocz(sizeof(*nacl)); IPAddressACL **naclp = 0; + acl.next = 0; *nacl = acl; - nacl->next = 0; if (stream) { naclp = &stream->acl;