New IsoStream_Iface.version 2 with method .get_input_stream(),
new API function iso_stream_get_input_stream(), new API function iso_file_remove_filter(), iso_file_get_old_image_sections() now refers to the most original stream of a file.
This commit is contained in:
@ -642,3 +642,14 @@ void iso_stream_get_file_name(IsoStream *stream, char *name)
|
||||
strcpy(name, "UNKNOWN SOURCE");
|
||||
}
|
||||
}
|
||||
|
||||
/* ts A90328 API */
|
||||
IsoStream *iso_stream_get_input_stream(IsoStream *stream, int flag)
|
||||
{
|
||||
IsoStreamIface* class = stream->class;
|
||||
|
||||
if (class->version < 2)
|
||||
return NULL;
|
||||
return class->get_input_stream(stream, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user