diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-14 17:56:35 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-12-14 17:56:35 +0000 |
commit | b987127e0e7eb90d8a0a618035a377e92f098447 (patch) | |
tree | 93886db1483e2ad6c3901f6646638e6da6079afa /loader/dshow | |
parent | bbeb54d80aa6d1d6945ce3b6461b7d24c57841e9 (diff) | |
download | mpv-b987127e0e7eb90d8a0a618035a377e92f098447.tar.bz2 mpv-b987127e0e7eb90d8a0a618035a377e92f098447.tar.xz |
compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dshow')
-rw-r--r-- | loader/dshow/DS_AudioDecoder.c | 1 | ||||
-rw-r--r-- | loader/dshow/DS_VideoDecoder.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/loader/dshow/DS_AudioDecoder.c b/loader/dshow/DS_AudioDecoder.c index 01a95e8fa4..d38dcdd52b 100644 --- a/loader/dshow/DS_AudioDecoder.c +++ b/loader/dshow/DS_AudioDecoder.c @@ -24,6 +24,7 @@ struct _DS_AudioDecoder }; #include "DS_AudioDecoder.h" +#include "../ldt_keeper.h" #include <string.h> #include <stdio.h> diff --git a/loader/dshow/DS_VideoDecoder.c b/loader/dshow/DS_VideoDecoder.c index bc0b7b27ba..ef3b77f33d 100644 --- a/loader/dshow/DS_VideoDecoder.c +++ b/loader/dshow/DS_VideoDecoder.c @@ -35,6 +35,7 @@ struct _DS_VideoDecoder #include "DS_VideoDecoder.h" #include "../wine/winerror.h" +#include "../ldt_keeper.h" #ifndef NOAVIFILE_HEADERS #define VFW_E_NOT_RUNNING 0x80040226 @@ -66,7 +67,7 @@ typedef struct _ct ct; struct _ct { unsigned int bits; fourcc_t fcc; - GUID *subtype; + const GUID *subtype; int cap; }; @@ -224,7 +225,7 @@ DS_VideoDecoder * DS_VideoDecoder_Open(char* dllname, GUID* guid, BITMAPINFOHEAD if (!result) { this->m_Caps = (this->m_Caps | c->cap); - printf("%.4s ", &c->fcc); + printf("%.4s ", (char *)&c->fcc); } } printf("\n"); |