Merge pull request #1143 from stweil/format
openjp2/jp2: Fix two format strings
This commit is contained in:
commit
2d2861036c
|
@ -1925,7 +1925,8 @@ static OPJ_BOOL opj_j2k_read_soc(opj_j2k_t *p_j2k,
|
||||||
/* FIXME move it in a index structure included in p_j2k*/
|
/* FIXME move it in a index structure included in p_j2k*/
|
||||||
p_j2k->cstr_index->main_head_start = opj_stream_tell(p_stream) - 2;
|
p_j2k->cstr_index->main_head_start = opj_stream_tell(p_stream) - 2;
|
||||||
|
|
||||||
opj_event_msg(p_manager, EVT_INFO, "Start to read j2k main header (%d).\n",
|
opj_event_msg(p_manager, EVT_INFO,
|
||||||
|
"Start to read j2k main header (%" PRId64 ").\n",
|
||||||
p_j2k->cstr_index->main_head_start);
|
p_j2k->cstr_index->main_head_start);
|
||||||
|
|
||||||
/* Add the marker to the codestream index*/
|
/* Add the marker to the codestream index*/
|
||||||
|
|
|
@ -1005,7 +1005,7 @@ static OPJ_BOOL opj_jp2_check_color(opj_image_t *image, opj_jp2_color_t *color,
|
||||||
if (!pcol_usage[i]) {
|
if (!pcol_usage[i]) {
|
||||||
is_sane = 0U;
|
is_sane = 0U;
|
||||||
opj_event_msg(p_manager, EVT_WARNING,
|
opj_event_msg(p_manager, EVT_WARNING,
|
||||||
"Component mapping seems wrong. Trying to correct.\n", i);
|
"Component mapping seems wrong. Trying to correct.\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue