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
62823d27
Commit
62823d27
authored
Sep 16, 2008
by
Lei Zhang
Committed by
Alexandre Julliard
Sep 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Make sure input to AMStreamConfig_SetFormat is not NULL.
parent
24e42651
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vfwcapture.c
dlls/qcap/vfwcapture.c
+7
-1
No files found.
dlls/qcap/vfwcapture.c
View file @
62823d27
...
...
@@ -400,7 +400,7 @@ AMStreamConfig_SetFormat(IAMStreamConfig *iface, AM_MEDIA_TYPE *pmt)
ICOM_THIS_MULTI
(
VfwCapture
,
IAMStreamConfig_vtbl
,
iface
);
IPinImpl
*
pin
;
TRACE
(
"(%p): %p->%p
\n
"
,
iface
,
pmt
,
pmt
->
pbFormat
);
TRACE
(
"(%p): %p->%p
\n
"
,
iface
,
pmt
,
pmt
?
pmt
->
pbFormat
:
NULL
);
if
(
This
->
state
!=
State_Stopped
)
{
...
...
@@ -408,6 +408,12 @@ AMStreamConfig_SetFormat(IAMStreamConfig *iface, AM_MEDIA_TYPE *pmt)
return
VFW_E_NOT_STOPPED
;
}
if
(
!
pmt
)
{
TRACE
(
"pmt is NULL
\n
"
);
return
E_POINTER
;
}
dump_AM_MEDIA_TYPE
(
pmt
);
pin
=
(
IPinImpl
*
)
This
->
pOutputPin
;
...
...
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