Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c2d56a7e
Commit
c2d56a7e
authored
Dec 02, 2023
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Dec 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Fix wg_transform_get_status() result check (Coverity).
wg_transform_get_status() returns bool, not HRESULT.
parent
c1fa6be4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
aac_decoder.c
dlls/winegstreamer/aac_decoder.c
+2
-3
No files found.
dlls/winegstreamer/aac_decoder.c
View file @
c2d56a7e
...
...
@@ -535,15 +535,14 @@ static HRESULT WINAPI transform_GetInputStatus(IMFTransform *iface, DWORD id, DW
{
struct
aac_decoder
*
decoder
=
impl_from_IMFTransform
(
iface
);
bool
accepts_input
;
HRESULT
hr
;
TRACE
(
"iface %p, id %#lx, flags %p.
\n
"
,
iface
,
id
,
flags
);
if
(
!
decoder
->
wg_transform
)
return
MF_E_TRANSFORM_TYPE_NOT_SET
;
if
(
FAILED
(
hr
=
wg_transform_get_status
(
decoder
->
wg_transform
,
&
accepts_input
)
))
return
hr
;
if
(
!
wg_transform_get_status
(
decoder
->
wg_transform
,
&
accepts_input
))
return
E_FAIL
;
*
flags
=
accepts_input
?
MFT_INPUT_STATUS_ACCEPT_DATA
:
0
;
return
S_OK
;
...
...
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