提交 6308caca 编写于 作者: S Stanislav Brabec 提交者: 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
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册