]> granicus.if.org Git - openjpeg/commitdiff
rename j2k_read_soc_v2 to opj_j2k_read_soc
authorMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 9 Aug 2012 15:32:18 +0000 (15:32 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Thu, 9 Aug 2012 15:32:18 +0000 (15:32 +0000)
libopenjpeg/j2k.c

index 4f03a965f9b26f319c17d3cd9efcd76da6cca473..7e7aa3cec1658c756729bdd82a6158b730741462 100644 (file)
@@ -399,7 +399,7 @@ static opj_bool j2k_write_soc_v2(   opj_j2k_v2_t *p_j2k,
  * @param      p_header_size   the size of the data contained in the SOC marker.
  * @param      p_manager               the user event manager.
 */
-static opj_bool j2k_read_soc_v2(
+static opj_bool opj_j2k_read_soc(
                                        opj_j2k_v2_t *p_j2k,
                                        struct opj_stream_private *p_stream,
                                        struct opj_event_mgr * p_manager
@@ -2118,7 +2118,7 @@ opj_bool j2k_write_soc_v2(        opj_j2k_v2_t *p_j2k,
  * @param      p_header_size   the size of the data contained in the SOC marker.
  * @param      p_manager               the user event manager.
 */
-static opj_bool j2k_read_soc_v2(       opj_j2k_v2_t *p_j2k,
+static opj_bool opj_j2k_read_soc(      opj_j2k_v2_t *p_j2k,
                                                                        struct opj_stream_private *p_stream,
                                                                        struct opj_event_mgr * p_manager )
 {
@@ -9140,7 +9140,7 @@ opj_bool j2k_read_header_procedure(       opj_j2k_v2_t *p_j2k,
        p_j2k->m_specific_param.m_decoder.m_state = J2K_STATE_MHSOC;
 
        /* Try to read the SOC marker, the codestream must begin with SOC marker */
-       if (! j2k_read_soc_v2(p_j2k,p_stream,p_manager)) {
+       if (! opj_j2k_read_soc(p_j2k,p_stream,p_manager)) {
                opj_event_msg_v2(p_manager, EVT_ERROR, "Expected a SOC marker \n");
                return OPJ_FALSE;
        }