Commit 58a16612 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

winegstreamer: Pass a QWORD pointer to IMFByteStream_GetLength.

Fixes warnings on GCC 13.
parent 226f8b7c
...@@ -616,7 +616,7 @@ static DWORD CALLBACK read_thread(void *arg) ...@@ -616,7 +616,7 @@ static DWORD CALLBACK read_thread(void *arg)
struct media_source *source = arg; struct media_source *source = arg;
IMFByteStream *byte_stream = source->byte_stream; IMFByteStream *byte_stream = source->byte_stream;
size_t buffer_size = 4096; size_t buffer_size = 4096;
uint64_t file_size; QWORD file_size;
void *data; void *data;
if (!(data = malloc(buffer_size))) if (!(data = malloc(buffer_size)))
...@@ -1482,7 +1482,7 @@ static HRESULT media_source_constructor(IMFByteStream *bytestream, struct media_ ...@@ -1482,7 +1482,7 @@ static HRESULT media_source_constructor(IMFByteStream *bytestream, struct media_
struct media_source *object; struct media_source *object;
struct wg_parser *parser; struct wg_parser *parser;
DWORD bytestream_caps; DWORD bytestream_caps;
uint64_t file_size; QWORD file_size;
unsigned int i; unsigned int i;
HRESULT hr; HRESULT hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment