Commit 6308caca authored by Stanislav Brabec's avatar Stanislav Brabec Committed by Diego Biurrun

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
parent beef9ba9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment