On 1/16/21 3:32 AM, Esme Povirk (they/them) wrote:
I'm curious why stream.c and metadataquery.c are needed. It seems odd to duplicate those interface implementations.
Because CommonDecoderFrame_Block_GetReaderByIndex calls StreamImpl_Create, and because CommonDecoderFrame_GetMetadataQueryReader calls MetadataQueryReader_CreateInstance, although this one could be avoided by using IWICComponentFactory_CreateQueryReaderFromBlockReader.