[trunk] fixed reference to opj_stream_set_user_data_v3 in jpip sources.

This commit is contained in:
Antonin Descampe 2014-04-24 08:51:29 +00:00
parent 7924d3a456
commit d8767cbcb7

View File

@ -55,7 +55,7 @@ Byte_t * j2k_to_pnm( const char *fn, ihdrbox_param_t **ihdrbox)
opj_set_default_decoder_parameters(&parameters);
/* set a byte stream */
l_stream = opj_stream_create_default_file_stream_v3( fn, OPJ_TRUE);
l_stream = opj_stream_create_default_file_stream( fn, OPJ_TRUE);
if (!l_stream){
fprintf(stderr, "ERROR -> failed to create the stream from the file\n");
return NULL;