Commit 5b7aae0b authored by diego's avatar diego

Fix warning:

ffserver.c:4303: warning: 'acl.next' is used uninitialized in this function
patch by Stanislav Brabec, sbrabec suse cz


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8573 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9221bc92
...@@ -4296,8 +4296,8 @@ static int parse_ffconfig(const char *filename) ...@@ -4296,8 +4296,8 @@ static int parse_ffconfig(const char *filename)
IPAddressACL *nacl = (IPAddressACL *) av_mallocz(sizeof(*nacl)); IPAddressACL *nacl = (IPAddressACL *) av_mallocz(sizeof(*nacl));
IPAddressACL **naclp = 0; IPAddressACL **naclp = 0;
acl.next = 0;
*nacl = acl; *nacl = acl;
nacl->next = 0;
if (stream) { if (stream) {
naclp = &stream->acl; 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