summaryrefslogtreecommitdiff
blob: e0c59b9de08e7ee8c3ab791fd35b9f2b9663d06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://bugs.gentoo.org/show_bug.cgi?id=259389

--- gpac/src/isomedia/box_code_base.c
+++ gpac/src/isomedia/box_code_base.c
@@ -109,7 +109,7 @@
 	
 	tmp = (GF_ChapterListBox *) malloc(sizeof(GF_ChapterListBox));
 	if (tmp == NULL) return NULL;
-	memset(tmp, 0, sizeof(GF_CopyrightBox));
+	memset(tmp, 0, sizeof(GF_ChapterListBox));
 	tmp->list = gf_list_new();
 	gf_isom_full_box_init((GF_Box *)tmp);
 	tmp->type = GF_ISOM_BOX_TYPE_CHPL;