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
68237905
Commit
68237905
authored
Mar 14, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Mar 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Don't load the stream file. AddSourceFilter does it already.
parent
873c92be
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
amstream.c
dlls/amstream/amstream.c
+0
-9
No files found.
dlls/amstream/amstream.c
View file @
68237905
...
...
@@ -305,7 +305,6 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
{
IAMMultiMediaStreamImpl
*
This
=
impl_from_IAMMultiMediaStream
(
iface
);
HRESULT
ret
=
S_OK
;
IFileSourceFilter
*
SourceFilter
=
NULL
;
IBaseFilter
*
BaseFilter
=
NULL
;
IEnumPins
*
EnumPins
=
NULL
;
IPin
*
ipin
;
...
...
@@ -321,12 +320,6 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
ret
=
IGraphBuilder_AddSourceFilter
(
This
->
pFilterGraph
,
pszFileName
,
pszFileName
,
&
BaseFilter
);
if
(
SUCCEEDED
(
ret
))
ret
=
IBaseFilter_QueryInterface
(
BaseFilter
,
&
IID_IFileSourceFilter
,
(
void
**
)
&
SourceFilter
);
if
(
SUCCEEDED
(
ret
))
ret
=
IFileSourceFilter_Load
(
SourceFilter
,
pszFileName
,
NULL
);
if
(
SUCCEEDED
(
ret
))
ret
=
IBaseFilter_EnumPins
(
BaseFilter
,
&
EnumPins
);
if
(
SUCCEEDED
(
ret
))
...
...
@@ -343,8 +336,6 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
IEnumPins_Release
(
EnumPins
);
if
(
BaseFilter
)
IBaseFilter_Release
(
BaseFilter
);
if
(
SourceFilter
)
IFileSourceFilter_Release
(
SourceFilter
);
return
ret
;
}
...
...
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