[SCM] libav/experimental: Fix warning: ffserver.c:4303: warning: 'acl.next' is used uninitialized in this function patch by Stanislav Brabec, sbrabec suse cz

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:58:23 UTC 2013


The following commit has been merged in the experimental branch:
commit 6308cacaf4ae2d3fc92ecc53e52e16df0596f0f2
Author: Stanislav Brabec <sbrabec at suse.cz>
Date:   Sat Mar 31 16:36:56 2007 +0000

    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

diff --git a/ffserver.c b/ffserver.c
index 29b785b..063ac5a 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list