Browse Source

avformat/teeproto: Fix memset sizeof

Found-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2
Michael Niedermayer 9 years ago
parent
commit
e83a01def3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/teeproto.c

+ 1
- 1
libavformat/teeproto.c View File

@@ -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,


Loading…
Cancel
Save