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
98fbcc4d
Commit
98fbcc4d
authored
May 11, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit: Avoid using long.
parent
a712a292
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
mediadet.c
dlls/qedit/mediadet.c
+3
-3
samplegrabber.c
dlls/qedit/samplegrabber.c
+3
-3
No files found.
dlls/qedit/mediadet.c
View file @
98fbcc4d
...
...
@@ -38,8 +38,8 @@ typedef struct MediaDetImpl {
IGraphBuilder
*
graph
;
IBaseFilter
*
source
;
IBaseFilter
*
splitter
;
long
num_streams
;
long
cur_stream
;
LONG
num_streams
;
LONG
cur_stream
;
IPin
*
cur_pin
;
}
MediaDetImpl
;
...
...
@@ -168,7 +168,7 @@ static HRESULT WINAPI MediaDet_get_CurrentStream(IMediaDet* iface, LONG *pVal)
return
S_OK
;
}
static
HRESULT
SetCurPin
(
MediaDetImpl
*
This
,
long
strm
)
static
HRESULT
SetCurPin
(
MediaDetImpl
*
This
,
LONG
strm
)
{
IEnumPins
*
pins
;
IPin
*
pin
;
...
...
dlls/qedit/samplegrabber.c
View file @
98fbcc4d
...
...
@@ -489,7 +489,7 @@ static void SampleGrabber_callback(SG_Impl *This, IMediaSample *sample)
REFERENCE_TIME
tStart
,
tEnd
;
if
(
This
->
bufferLen
>=
0
)
{
BYTE
*
data
=
0
;
long
size
=
IMediaSample_GetActualDataLength
(
sample
);
LONG
size
=
IMediaSample_GetActualDataLength
(
sample
);
if
(
size
>=
0
&&
SUCCEEDED
(
IMediaSample_GetPointer
(
sample
,
&
data
)))
{
if
(
!
data
)
size
=
0
;
...
...
@@ -527,7 +527,7 @@ static void SampleGrabber_callback(SG_Impl *This, IMediaSample *sample)
case
1
:
{
BYTE
*
data
=
0
;
long
size
=
IMediaSample_GetActualDataLength
(
sample
);
LONG
size
=
IMediaSample_GetActualDataLength
(
sample
);
if
(
size
&&
SUCCEEDED
(
IMediaSample_GetPointer
(
sample
,
&
data
))
&&
data
)
ISampleGrabberCB_BufferCB
(
This
->
grabberIface
,
time
,
data
,
size
);
}
...
...
@@ -535,7 +535,7 @@ static void SampleGrabber_callback(SG_Impl *This, IMediaSample *sample)
case
-
1
:
break
;
default:
FIXME
(
"unsupported method %
ld
\n
"
,
(
long
int
)
This
->
grabberMethod
);
FIXME
(
"unsupported method %
d
\n
"
,
This
->
grabberMethod
);
/* do not bother us again */
This
->
grabberMethod
=
-
1
;
}
...
...
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