diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-05-14 17:17:53 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-05-14 17:17:53 +0000 |
| commit | 0fb657651126804f8f5dc891cc4e8772121a7945 (patch) | |
| tree | 1226358be1c1a6953d625f865a77b9aa2c5ca6f1 /libopenjpeg/j2k.c | |
| parent | 383495c8636fed28e6f2c5ca7a7b6f497a4eef68 (diff) | |
Diffstat (limited to 'libopenjpeg/j2k.c')
| -rw-r--r-- | libopenjpeg/j2k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index 80cb2748..a411508d 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -11795,7 +11795,7 @@ static opj_bool j2k_decode_one_tile ( opj_j2k_v2_t *p_j2k, if(l_current_tile_no == l_tile_no_to_dec) { /* move into the codestream to the the first SOT (FIXME or not move?)*/ - if (opj_stream_read_seek(p_stream, p_j2k->cstr_index->main_head_end + 2, p_manager) ) { + if (!(opj_stream_read_seek(p_stream, p_j2k->cstr_index->main_head_end + 2, p_manager) ) ) { opj_event_msg_v2(p_manager, EVT_ERROR, "Problem with seek function\n"); return OPJ_FALSE; } |
