Commit e83a01de authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/teeproto: Fix memset sizeof

Found-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 640c0962
......@@ -102,7 +102,7 @@ static int tee_open(URLContext *h, const char *filename, int flags)
goto fail;
}
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,
&h->interrupt_callback, /*AVDictionary **options*/NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment