[Ffmpeg-cvslog] r8573 - trunk/ffserver.c

diego subversion
Sat Mar 31 18:36:56 CEST 2007


Author: diego
Date: Sat Mar 31 18:36:56 2007
New Revision: 8573

Modified:
   trunk/ffserver.c

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


Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Sat Mar 31 18:36:56 2007
@@ -4296,8 +4296,8 @@ static int parse_ffconfig(const char *fi
                 IPAddressACL *nacl = (IPAddressACL *) av_mallocz(sizeof(*nacl));
                 IPAddressACL **naclp = 0;
 
+                acl.next = 0;
                 *nacl = acl;
-                nacl->next = 0;
 
                 if (stream) {
                     naclp = &stream->acl;




More information about the ffmpeg-cvslog mailing list