summaryrefslogtreecommitdiff
path: root/libopenjpeg/t2.c
diff options
context:
space:
mode:
authorFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-09-17 14:00:43 +0000
committerFrancois-Olivier Devaux <fodevaux@users.noreply.github.com>2007-09-17 14:00:43 +0000
commit569bbb00776f08211f7184ea4ea94571b652adae (patch)
tree1366a336e13bdb6f5c2f508fc36a5ccc1fadedb8 /libopenjpeg/t2.c
parentabfba20b9922af6dd25593f5e0aa2e232253e7ce (diff)
Fixed issues with cstr_info when codestream has components with different number of resolutions.
Diffstat (limited to 'libopenjpeg/t2.c')
-rw-r--r--libopenjpeg/t2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libopenjpeg/t2.c b/libopenjpeg/t2.c
index 5d0d9856..5692a1ec 100644
--- a/libopenjpeg/t2.c
+++ b/libopenjpeg/t2.c
@@ -748,7 +748,7 @@ int t2_decode_packets(opj_t2_t *t2, unsigned char *src, int len, int tileno, opj
return e;
}
- return (c - src);
+ return (c - src);
}
/* ----------------------------------------------------------------------- */
@@ -771,3 +771,5 @@ void t2_destroy(opj_t2_t *t2) {
}
+
+