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
71e7e73f
Commit
71e7e73f
authored
May 03, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Avoid using wine/unicode.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0844e447
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
7 additions
and
18 deletions
+7
-18
audio.c
dlls/strmbase/audio.c
+0
-1
dispatch.c
dlls/strmbase/dispatch.c
+0
-1
dllfunc.c
dlls/strmbase/dllfunc.c
+0
-2
filter.c
dlls/strmbase/filter.c
+3
-4
outputqueue.c
dlls/strmbase/outputqueue.c
+0
-1
pin.c
dlls/strmbase/pin.c
+3
-4
renderer.c
dlls/strmbase/renderer.c
+0
-1
transform.c
dlls/strmbase/transform.c
+1
-2
video.c
dlls/strmbase/video.c
+0
-1
window.c
dlls/strmbase/window.c
+0
-1
No files found.
dlls/strmbase/audio.c
View file @
71e7e73f
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "dshow.h"
#include "dshow.h"
#include "uuids.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "vfwmsgs.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
...
...
dlls/strmbase/dispatch.c
View file @
71e7e73f
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#define COBJMACROS
#define COBJMACROS
#include "dshow.h"
#include "dshow.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "uuids.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "vfwmsgs.h"
...
...
dlls/strmbase/dllfunc.c
View file @
71e7e73f
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
* License along with this library; if not, write to the Free Software
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include "config.h"
#include <stdarg.h>
#include <stdarg.h>
#include <assert.h>
#include <assert.h>
...
@@ -36,7 +35,6 @@
...
@@ -36,7 +35,6 @@
#include "uuids.h"
#include "uuids.h"
#include "strmif.h"
#include "strmif.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
...
...
dlls/strmbase/filter.c
View file @
71e7e73f
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "dshow.h"
#include "dshow.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "uuids.h"
#include "uuids.h"
#include <assert.h>
#include <assert.h>
...
@@ -162,7 +161,7 @@ HRESULT WINAPI BaseFilterImpl_FindPin(IBaseFilter *iface, const WCHAR *id, IPin
...
@@ -162,7 +161,7 @@ HRESULT WINAPI BaseFilterImpl_FindPin(IBaseFilter *iface, const WCHAR *id, IPin
}
}
if
(
info
.
pFilter
)
IBaseFilter_Release
(
info
.
pFilter
);
if
(
info
.
pFilter
)
IBaseFilter_Release
(
info
.
pFilter
);
if
(
!
strcmpW
(
id
,
info
.
achName
))
if
(
!
l
strcmpW
(
id
,
info
.
achName
))
{
{
*
ret
=
pin
;
*
ret
=
pin
;
return
S_OK
;
return
S_OK
;
...
@@ -179,7 +178,7 @@ HRESULT WINAPI BaseFilterImpl_QueryFilterInfo(IBaseFilter * iface, FILTER_INFO *
...
@@ -179,7 +178,7 @@ HRESULT WINAPI BaseFilterImpl_QueryFilterInfo(IBaseFilter * iface, FILTER_INFO *
BaseFilter
*
This
=
impl_from_IBaseFilter
(
iface
);
BaseFilter
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pInfo
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pInfo
);
strcpyW
(
pInfo
->
achName
,
This
->
filterInfo
.
achName
);
l
strcpyW
(
pInfo
->
achName
,
This
->
filterInfo
.
achName
);
pInfo
->
pGraph
=
This
->
filterInfo
.
pGraph
;
pInfo
->
pGraph
=
This
->
filterInfo
.
pGraph
;
if
(
pInfo
->
pGraph
)
if
(
pInfo
->
pGraph
)
...
@@ -197,7 +196,7 @@ HRESULT WINAPI BaseFilterImpl_JoinFilterGraph(IBaseFilter * iface, IFilterGraph
...
@@ -197,7 +196,7 @@ HRESULT WINAPI BaseFilterImpl_JoinFilterGraph(IBaseFilter * iface, IFilterGraph
EnterCriticalSection
(
&
This
->
csFilter
);
EnterCriticalSection
(
&
This
->
csFilter
);
{
{
if
(
pName
)
if
(
pName
)
strcpyW
(
This
->
filterInfo
.
achName
,
pName
);
l
strcpyW
(
This
->
filterInfo
.
achName
,
pName
);
else
else
*
This
->
filterInfo
.
achName
=
'\0'
;
*
This
->
filterInfo
.
achName
=
'\0'
;
This
->
filterInfo
.
pGraph
=
pGraph
;
/* NOTE: do NOT increase ref. count */
This
->
filterInfo
.
pGraph
=
pGraph
;
/* NOTE: do NOT increase ref. count */
...
...
dlls/strmbase/outputqueue.c
View file @
71e7e73f
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "dshow.h"
#include "dshow.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/list.h"
#include "wine/list.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "uuids.h"
#include "uuids.h"
...
...
dlls/strmbase/pin.c
View file @
71e7e73f
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "dshow.h"
#include "dshow.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "uuids.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "vfwmsgs.h"
...
@@ -146,7 +145,7 @@ out:
...
@@ -146,7 +145,7 @@ out:
static
void
Copy_PinInfo
(
PIN_INFO
*
pDest
,
const
PIN_INFO
*
pSrc
)
static
void
Copy_PinInfo
(
PIN_INFO
*
pDest
,
const
PIN_INFO
*
pSrc
)
{
{
/* avoid copying uninitialized data */
/* avoid copying uninitialized data */
strcpyW
(
pDest
->
achName
,
pSrc
->
achName
);
l
strcpyW
(
pDest
->
achName
,
pSrc
->
achName
);
pDest
->
dir
=
pSrc
->
dir
;
pDest
->
dir
=
pSrc
->
dir
;
pDest
->
pFilter
=
pSrc
->
pFilter
;
pDest
->
pFilter
=
pSrc
->
pFilter
;
}
}
...
@@ -296,11 +295,11 @@ HRESULT WINAPI BasePinImpl_QueryId(IPin * iface, LPWSTR * Id)
...
@@ -296,11 +295,11 @@ HRESULT WINAPI BasePinImpl_QueryId(IPin * iface, LPWSTR * Id)
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
Id
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
Id
);
*
Id
=
CoTaskMemAlloc
((
strlenW
(
This
->
pinInfo
.
achName
)
+
1
)
*
sizeof
(
WCHAR
));
*
Id
=
CoTaskMemAlloc
((
l
strlenW
(
This
->
pinInfo
.
achName
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
!*
Id
)
if
(
!*
Id
)
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
strcpyW
(
*
Id
,
This
->
pinInfo
.
achName
);
l
strcpyW
(
*
Id
,
This
->
pinInfo
.
achName
);
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/strmbase/renderer.c
View file @
71e7e73f
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "dshow.h"
#include "dshow.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "uuids.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "vfwmsgs.h"
...
...
dlls/strmbase/transform.c
View file @
71e7e73f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* License along with this library; if not, write to the Free Software
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include "config.h"
#include <stdarg.h>
#include <stdarg.h>
#define COBJMACROS
#define COBJMACROS
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
#include <assert.h>
#include <assert.h>
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "strmbase_private.h"
#include "strmbase_private.h"
...
...
dlls/strmbase/video.c
View file @
71e7e73f
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include "uuids.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "vfwmsgs.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
strmbase
);
WINE_DEFAULT_DEBUG_CHANNEL
(
strmbase
);
...
...
dlls/strmbase/window.c
View file @
71e7e73f
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "dshow.h"
#include "dshow.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/unicode.h"
#include "wine/strmbase.h"
#include "wine/strmbase.h"
#include "uuids.h"
#include "uuids.h"
#include "vfwmsgs.h"
#include "vfwmsgs.h"
...
...
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