summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2005-02-01 16:30:06 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2005-02-01 16:30:06 +0000
commit8323900f73678fb42ef33a41ab4d0e54b9b53290 (patch)
tree9e0e48066f11869e5a189a128cc4b1318b96ea81
parentc83ae7397d31444e8280ddd73959e10d1dd4fb84 (diff)
Bug with number of layers to decode fixed
-rw-r--r--mj2/mj2_to_frames.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mj2/mj2_to_frames.c b/mj2/mj2_to_frames.c
index 7509600d..87a6a45b 100644
--- 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");