projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug with number of layers to decode fixed
[openjpeg.git]
/
mj2
/
mj2_to_frames.c
diff --git
a/mj2/mj2_to_frames.c
b/mj2/mj2_to_frames.c
index 7509600d76cd17d811aa6d33c74f08dccb8a293e..87a6a45b6dde957a0f01a7b7d9104fd1759794e1 100644
(file)
--- a/
mj2/mj2_to_frames.c
+++ b/
mj2/mj2_to_frames.c
@@
-29,6
+29,9
@@
int main(int argc, char *argv[]) {
j2k_cp_t cp;
int i;
+ cp.layer=0;
+ cp.reduce=0;
+
if (argc != 3) {
printf("Bad syntax: Usage: MJ2_decoder inputfile.mj2 outputfile.yuv\n");
printf("Example: MJ2_decoder foreman.mj2 foreman.yuv\n");