Re: [PATCH v4 0/9] MR6480: mfsrcsnk: Implement I/O for the FFmpeg backend.
13 Sep
2024
13 Sep
'24
4:51 p.m.
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: -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6480#note_82140
539
Age (days ago)
539
Last active (days ago)
0 comments
1 participants
participants (1)
-
Emil Velikov (@xexaxo)