Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
58a16612
Commit
58a16612
authored
Jun 01, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Jun 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Pass a QWORD pointer to IMFByteStream_GetLength.
Fixes warnings on GCC 13.
parent
226f8b7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
media_source.c
dlls/winegstreamer/media_source.c
+2
-2
No files found.
dlls/winegstreamer/media_source.c
View file @
58a16612
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment