You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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
This commit is contained in:
committed by
Diego Biurrun
parent
beef9ba9e2
commit
6308cacaf4
@@ -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;
|
||||||
|
Reference in New Issue
Block a user