projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[1.5][JPIP] backport r1037 to branch 1.5
[openjpeg.git]
/
applications
/
jpip
/
libopenjpip
/
boxheader_manager.c
diff --git
a/applications/jpip/libopenjpip/boxheader_manager.c
b/applications/jpip/libopenjpip/boxheader_manager.c
index 2f465a3b8a560911508eeeced6170ff32c2eef90..0a8b2215fc783134dfb262f68edf61dc104cc6cc 100644
(file)
--- a/
applications/jpip/libopenjpip/boxheader_manager.c
+++ b/
applications/jpip/libopenjpip/boxheader_manager.c
@@
-59,6
+59,7
@@
boxheader_param_t * gene_boxheader( int fd, Byte8_t offset)
boxlen = fetch_8bytebigendian( fd, offset+8);
headlen = 16;
}
+
boxheader = (boxheader_param_t *)malloc( sizeof( boxheader_param_t));
boxheader->headlen = headlen;
boxheader->length = boxlen;