mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-19 21:06:42 +00:00
avformat/teeproto: Fix memset sizeof
Found-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
640c0962c0
commit
e83a01def3
@ -102,7 +102,7 @@ static int tee_open(URLContext *h, const char *filename, int flags)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
c->child = tmp;
|
c->child = tmp;
|
||||||
memset(&c->child[c->child_count], 0, sizeof(&c->child[c->child_count]));
|
memset(&c->child[c->child_count], 0, sizeof(c->child[c->child_count]));
|
||||||
|
|
||||||
ret = ffurl_open_whitelist(&c->child[c->child_count].url_context, child_name, flags,
|
ret = ffurl_open_whitelist(&c->child[c->child_count].url_context, child_name, flags,
|
||||||
&h->interrupt_callback, /*AVDictionary **options*/NULL,
|
&h->interrupt_callback, /*AVDictionary **options*/NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user