Emil Velikov (@xexaxo) commented about dlls/winedmo/main.c:
WINE_DEFAULT_DEBUG_CHANNEL(dmo);
-static struct stream_context *stream_context_create(void) +static struct stream_context *stream_context_create( struct winedmo_stream *stream, UINT64 *stream_size ) { struct stream_context *context;
if (!(context = malloc( 0x10000 ))) return NULL;
- context->length = 0;
- context->stream = (UINT_PTR)stream;
- context->length = *stream_size;
Out of curiosity: why do we pass stream_size as pointer to an int, instead of an int directly?
Sorry for the belated questions :bow: